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

No cache for ajax to prevent wrong redirects

Former-commit-id: 52c93b81
parent 7a01020d
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
url: url,
dataType: 'text',
type: 'GET',
cache: false,
complete: function(xhr){
if(typeof cb === 'function')
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