Fixed bug with report delete scene request.

This commit is contained in:
David Maisonave
2024-11-27 00:16:28 -05:00
parent 214ba134c4
commit 6ae3c3c689
5 changed files with 9 additions and 7 deletions

View File

@@ -239,7 +239,7 @@ function RunPluginOperation(Mode, ActionID, button, asyncAjax){
$("body").css("cursor", "default");
}
if (Mode === "renameFile" || Mode === "clearAllSceneFlags" || Mode === "mergeTags" || (Mode !== "deleteScene" && Mode.startsWith("deleteScene")))
location.replace(location.href);
location.href = location.href; // location.replace(location.href);
if (!chkBxRemoveValid.checked && Mode !== "flagScene") alert("Action " + Mode + " for scene(s) ID# " + ActionID + " complete.\\n\\nResults=" + result);
}, error: function(XMLHttpRequest, textStatus, errorThrown) {
console.log("Ajax failed with Status: " + textStatus + "; Error: " + errorThrown);