[
https://issues.apache.org/jira/browse/COUCHDB-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020669#comment-13020669
]
Jan Lehnardt commented on COUCHDB-1090:
---------------------------------------
I remember this has been in for a long time, I'm hesitant to just remove the
option, how about an override:
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index 9e31cef..3fbd0d1 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -1025,7 +1025,7 @@
ajaxOptions = $.extend({contentType: "application/json"}, ajaxOptions);
errorMessage = errorMessage || "Unknown error";
$.ajax($.extend($.extend({
- type: "GET", dataType: "json", cache : !$.browser.msie,
+ type: "GET", dataType: "json", cache : options.cache || !$.browser.msie,
beforeSend: function(xhr){
if(ajaxOptions && ajaxOptions.headers){
for (var header in ajaxOptions.headers){
> jquery.couch.js enforces cache option
> -------------------------------------
>
> Key: COUCHDB-1090
> URL: https://issues.apache.org/jira/browse/COUCHDB-1090
> Project: CouchDB
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Dale Harvey
> Priority: Trivial
> Attachments: cache.patch
>
>
> jquery.couch.js explicitly sets a cache, preventing the programmer from being
> able to set it
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira