You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2014/04/01 10:52:26 UTC
[21/50] jquery-couch commit: updated refs/heads/import-master to
66dbcbf
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
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/commit/3f5e55a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/3f5e55a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/3f5e55a3
Branch: refs/heads/import-master
Commit: 3f5e55a3f24f8d0fc5cf855e1eeebd5638abf64f
Parents: 3955038
Author: John Christopher Anderson <jc...@apache.org>
Authored: Tue Jun 15 00:07:14 2010 +0000
Committer: Alexander Shorin <kx...@gmail.com>
Committed: Tue Jun 15 00:07:14 2010 +0000
----------------------------------------------------------------------
jquery.couch.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/3f5e55a3/jquery.couch.js
----------------------------------------------------------------------
diff --git a/jquery.couch.js b/jquery.couch.js
index 086ebbb..682e999 100644
--- a/jquery.couch.js
+++ b/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){