Closed Juliangzr closed 5 years ago
In Pjax initialization options, set cacheBust
to
false
. See here.
In Pjax initialization options, set
cacheBust
tofalse
. See here.
Thank you @BehindTheMath! i setted to false, but im still getting the error.
i solved editing the .js of the loadcontent function: i added the if (html != undefined) {
if (html != undefined) {
var matches = html.match(htmlRegex)
if (matches && matches.length) {
matches = matches[0].match(htmlAttribsRegex)
if (matches.length) {
matches.shift()
matches.forEach(function(htmlAttrib) {
var attr = htmlAttrib.trim().split("=")
if (attr.length === 1) {
tmpEl.documentElement.setAttribute(attr[0], true)
}
else {
tmpEl.documentElement.setAttribute(attr[0], attr[1].slice(1, -1))
}
})
}
}
}
We should check here if responseText
is falsy.
Hello, Im trying to use this script with ASP.NET MVC 5. I enabled the debug, and when i click on a link it throws me this error:
Here is my script
If i enter manually (through browser) to http://localhost:25282/Clientes/Listar/1?t=1543502398672 there is no problem. Anyway, there is no possibility to remove the query string t in the requests ?
Thanks