commit | a76875ddc841705e121b5a5832ef1c8ee8a68cee | [log] [tgz] |
---|---|---|
author | Ewan McDougall <mrloop@mrloop.com> | Thu Jun 07 13:34:54 2012 +0200 |
committer | Alexander Shorin <kxepal@gmail.com> | Thu Jun 07 13:34:54 2012 +0200 |
tree | ba58e5893d4eb0a674e5a3fb969d965cb088d0b7 | |
parent | ce9e39cb01488150c694f6fe6f5e554c3748c08d [diff] |
Use ajax helper function for _session GET request to stop request cache in IE7
diff --git a/jquery.couch.js b/jquery.couch.js index 34255bb..3b49121 100644 --- a/jquery.couch.js +++ b/jquery.couch.js
@@ -139,7 +139,7 @@ */ session: function(options) { options = options || {}; - $.ajax({ + ajax({ type: "GET", url: this.urlPrefix + "/_session", beforeSend: function(xhr) { xhr.setRequestHeader('Accept', 'application/json');