Skip to content
Snippets Groups Projects
Commit 52c93b81 authored by Christophe Trefois's avatar Christophe Trefois
Browse files

No cache for ajax to prevent wrong redirects

parent f73f5914
No related branches found
No related tags found
1 merge request!23Regular merge of develop
Pipeline #15195 passed
...@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment