couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r957957 - /couchdb/branches/0.11.x/share/www/script/jquery.couch.js
Date Fri, 25 Jun 2010 14:12:15 GMT
Author: jan
Date: Fri Jun 25 14:12:15 2010
New Revision: 957957

URL: http://svn.apache.org/viewvc?rev=957957&view=rev
Log:
Merge r954677 from trunk:

jquery.couch.js uses a cache-buster when the browser is msie

Modified:
    couchdb/branches/0.11.x/share/www/script/jquery.couch.js

Modified: couchdb/branches/0.11.x/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/jquery.couch.js?rev=957957&r1=957956&r2=957957&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] Fri Jun 25 14:12:15 2010
@@ -513,9 +513,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