From 8df02295c40179ad8332bd298dc49d37d76ee685 Mon Sep 17 00:00:00 2001 From: Ewan McDougall Date: Thu, 7 Jun 2012 13:34:54 +0200 Subject: [PATCH] Use ajax helper function for _session GET request to stop request cache in IE7 --- share/www/script/jquery.couch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index 62831a1a793..84aa625a012 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/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');