Commit 612f0c8934d85fd84bf84e835a1f9c963f0291fc
Committed by
Daniela Feitosa
1 parent
f38a825d
Exists in
master
and in
29 other branches
Disable caching for user_data ajax request
(ActionItem1750)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
public/javascripts/application.js
... | ... | @@ -461,6 +461,7 @@ function new_qualifier_row(selector, select_qualifiers) { |
461 | 461 | |
462 | 462 | // controls the display of the login/logout stuff |
463 | 463 | jQuery(function($) { |
464 | + $.ajaxSetup({cache: false}); | |
464 | 465 | $.getJSON('/account/user_data', function userDataCallBack(data) { |
465 | 466 | if (data.login) { |
466 | 467 | // logged in | ... | ... |