diff --git a/scripts/system/edit.js b/scripts/system/edit.js index 90be8f18c6..a24e96cce5 100644 --- a/scripts/system/edit.js +++ b/scripts/system/edit.js @@ -2042,6 +2042,7 @@ var PropertiesTool = function (opts) { function updateScriptStatus(info) { info.type = "server_script_status"; webView.emitScriptEvent(JSON.stringify(info)); + createToolsWindow.emitScriptEvent(JSON.stringify(info)); } function resetScriptStatus() { diff --git a/scripts/system/html/js/entityProperties.js b/scripts/system/html/js/entityProperties.js index d2cea2d394..8597f4c1bb 100644 --- a/scripts/system/html/js/entityProperties.js +++ b/scripts/system/html/js/entityProperties.js @@ -1671,7 +1671,7 @@ function loaded() { elServerScripts.addEventListener('change', createEmitTextPropertyUpdateFunction('serverScripts')); elServerScripts.addEventListener('change', function() { // invalidate the current status (so that same-same updates can still be observed visually) - elServerScriptStatus.innerText = '[' + elServerScriptStatus.innerText + ']'; + elServerScriptStatus.innerText = "[ Getting status ]"; }); elClearUserData.addEventListener("click", function() { @@ -2145,7 +2145,7 @@ function loaded() { }); elReloadServerScriptsButton.addEventListener("click", function() { // invalidate the current status (so that same-same updates can still be observed visually) - elServerScriptStatus.innerText = '[' + elServerScriptStatus.innerText + ']'; + elServerScriptStatus.innerText = "[ Getting status ]"; EventBridge.emitWebEvent(JSON.stringify({ type: "action", action: "reloadServerScripts"