summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-06-15 00:07:14 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-06-15 00:07:14 +0000
commita18aec2186b83815b38ad4a03bf5a7a0e8cc718a (patch)
treedb0fefe916a158e5712ff4c6feb207a041ffaa5e /share
parente81462a622b5138bedfac2f3cf907f8dabe755e7 (diff)
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
Diffstat (limited to 'share')
-rw-r--r--share/www/script/jquery.couch.js3
1 files changed, 1 insertions, 2 deletions
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){