Commit 52c93b81 authored by Christophe Trefois's avatar Christophe Trefois
Browse files

No cache for ajax to prevent wrong redirects

parent f73f5914
Pipeline #15195 passed with stage
in 1 minute and 41 seconds
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
url: url, url: url,
dataType: 'text', dataType: 'text',
type: 'GET', type: 'GET',
cache: false,
complete: function(xhr){ complete: function(xhr){
if(typeof cb === 'function') if(typeof cb === 'function')
cb.apply(this, [xhr.status]); cb.apply(this, [xhr.status]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment