|
@@ -48,12 +48,12 @@ function closeStagPopup(_noEvent = false) {
|
|
|
else {
|
|
|
if(popup.is('[update-parent]') && !_noEvent) {
|
|
|
let hook = popup.attr('update-parent');
|
|
|
- if(!!$.trim(hook)) {
|
|
|
+ if(!!$.trim(hook) && $.trim(hook) !== 'true') {
|
|
|
let hooks = hook.split(',');
|
|
|
for (let i = 0; i < hooks.length; i++) {
|
|
|
- hooks[i] = $.trim(hooks);
|
|
|
- if(hasMCHook(hooks)) {
|
|
|
- runMCHook(hooks);
|
|
|
+ hooks[i] = $.trim(hooks[i]);
|
|
|
+ if(hasMCHook(hooks[i])) {
|
|
|
+ runMCHook(hooks[i]);
|
|
|
}
|
|
|
}
|
|
|
}
|