diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-06-15 00:07:14 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-06-15 00:07:14 +0000 |
commit | a18aec2186b83815b38ad4a03bf5a7a0e8cc718a (patch) | |
tree | db0fefe916a158e5712ff4c6feb207a041ffaa5e | |
parent | e81462a622b5138bedfac2f3cf907f8dabe755e7 (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
-rw-r--r-- | share/www/script/jquery.couch.js | 3 |
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){ |