mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix: Loader not removed from event trigger
This commit is contained in:
parent
4793578308
commit
e8dd91cf94
@ -719,6 +719,7 @@ humhub.module('action', function(module, require, $) {
|
|||||||
|
|
||||||
var that = this;
|
var that = this;
|
||||||
event.finish = function() {
|
event.finish = function() {
|
||||||
|
_removeLoaderFromEventTarget(event);
|
||||||
_removeLoaderFromEventTarget(event.originalEvent);
|
_removeLoaderFromEventTarget(event.originalEvent);
|
||||||
that.unblock($trigger);
|
that.unblock($trigger);
|
||||||
};
|
};
|
||||||
@ -734,6 +735,10 @@ humhub.module('action', function(module, require, $) {
|
|||||||
if(evt && evt.target) {
|
if(evt && evt.target) {
|
||||||
loader.reset(evt.target);
|
loader.reset(evt.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(evt && evt.$trigger) {
|
||||||
|
loader.reset(evt.$trigger);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user