We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff31f35 commit afaffa6Copy full SHA for afaffa6
jquery.unobtrusive-ajax.js
@@ -91,7 +91,7 @@
91
$.extend(options, {
92
type: element.getAttribute("data-ajax-method") || undefined,
93
url: element.getAttribute("data-ajax-url") || undefined,
94
- cache: !!element.getAttribute("data-ajax-cache"),
+ cache: (element.getAttribute("data-ajax-cache") || "").toLowerCase() === "true",
95
beforeSend: function (xhr) {
96
var result;
97
asyncOnBeforeSend(xhr, method);
0 commit comments