mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Make sure CurrentXHR is set back to null on completion
This commit is contained in:
parent
e282f0b661
commit
fda4b91d06
@ -446,6 +446,7 @@ jQuery.noConflict();
|
|||||||
headers: headers,
|
headers: headers,
|
||||||
url: state.url,
|
url: state.url,
|
||||||
complete: function() {
|
complete: function() {
|
||||||
|
self.setCurrentXHR(null);
|
||||||
// Remove loading indication from old content els (regardless of which are replaced)
|
// Remove loading indication from old content els (regardless of which are replaced)
|
||||||
contentEls.removeClass('loading');
|
contentEls.removeClass('loading');
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user