This commit is contained in:
Mirco Wittrien 2020-03-27 19:03:39 +01:00
parent 504a7c3efe
commit e927c889da
2 changed files with 3 additions and 3 deletions

View File

@ -1270,7 +1270,7 @@
module.BDFDBpatch[methodName][type][patchPriority][pluginId].pluginName = pluginName;
}
}
if (BDFDB.ObjectUtils.is(plugin) && !config.once) {
if (BDFDB.ObjectUtils.is(plugin) && !config.once && !config.noCache) {
if (!BDFDB.ArrayUtils.is(plugin.patchCancels)) plugin.patchCancels = [];
plugin.patchCancels.push(cancel);
}
@ -9399,7 +9399,7 @@
let renderedPopout = renderPopout(...args);
BDFDB.ModuleUtils.patch(BDFDB, renderedPopout, "type", {after: e3 => {
InternalBDFDB.executeExtraPatchedPatches("MessageOptionContextMenu", {instance:{props:e3.methodArguments[0]}, returnvalue:e3.returnValue, methodname:"default"});
}}, {once: true});
}}, {noCache: true});
return renderedPopout;
}
}

File diff suppressed because one or more lines are too long