couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r954677 - /couchdb/trunk/share/www/script/jquery.couch.js
Date Tue, 15 Jun 2010 00:07:15 GMT
Author: jchris
Date: Tue Jun 15 00:07:14 2010
New Revision: 954677

URL: http://svn.apache.org/viewvc?rev=954677&view=rev
Log:
jquery.couch.js uses a cache-buster when the browser is msie

Modified:
    couchdb/trunk/share/www/script/jquery.couch.js

Modified: couchdb/trunk/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=954677&r1=954676&r2=954677&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Tue Jun 15 00:07:14 2010
@@ -579,9 +579,8 @@
   function ajax(obj, options, errorMessage, ajaxOptions) {
     options = $.extend({successStatus: 200}, options);
     errorMessage = errorMessage || "Unknown error";
-
     $.ajax($.extend($.extend({
-      type: "GET", dataType: "json",
+      type: "GET", dataType: "json", cache : !$.browser.msie,
       beforeSend: function(xhr){
         if(ajaxOptions && ajaxOptions.headers){
           for (var header in ajaxOptions.headers){



Mime
View raw message