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 @@
url: url,
dataType: 'text',
type: 'GET',
cache: false,
complete: function(xhr){
if(typeof cb === 'function')
cb.apply(this, [xhr.status]);
......
Markdown is supported
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