From a18aec2186b83815b38ad4a03bf5a7a0e8cc718a Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Tue, 15 Jun 2010 00:07:14 +0000 Subject: jquery.couch.js uses a cache-buster when the browser is msie git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954677 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/jquery.couch.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'share') diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index 32eeef5f..efd646a4 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -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){ -- cgit v1.2.3