Merge branch 'develop' into fix/catchModuleConfigLoadError

This commit is contained in:
Lucas Bartholemy 2020-10-12 17:25:09 +02:00 committed by GitHub
commit 565946f0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -56,3 +56,4 @@ HumHub Changelog
- Enh #3889: Prevent automatically resized site icons by manually added files (e.g. `/upload/icon/180x180.png`)
- Enh #4458: Remove cacert.pem in order to avoid curl error
- Fix #4473: Catch all Throwables when loading module configuration
- Fix #4474: Loader not removed from event trigger

View File

@ -719,6 +719,7 @@ humhub.module('action', function(module, require, $) {
var that = this;
event.finish = function() {
_removeLoaderFromEventTarget(event);
_removeLoaderFromEventTarget(event.originalEvent);
that.unblock($trigger);
};
@ -734,6 +735,10 @@ humhub.module('action', function(module, require, $) {
if(evt && evt.target) {
loader.reset(evt.target);
}
if(evt && evt.$trigger) {
loader.reset(evt.$trigger);
}
};