diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 9f7224ec..46cd5924 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -624,12 +624,12 @@ async function updateAll(update_check_checkbox, manager_dialog) { } app.ui.dialog.show( - "ComfyUI and all extensions have been updated to the latest version.
To apply the updated custom node, please ComfyUI. And refresh browser.
" + "ComfyUI and all extensions have been updated to the latest version.
To apply the updated custom node, please ComfyUI. And refresh browser.
" +failed_list +updated_list ); - const rebootButton = document.getElementById('cm-reboot-button'); + const rebootButton = document.getElementById('cm-reboot-button5'); rebootButton.addEventListener("click", function() { if(rebootAPI()) { diff --git a/js/common.js b/js/common.js index a45bf75f..0815c1eb 100644 --- a/js/common.js +++ b/js/common.js @@ -67,7 +67,7 @@ export async function install_checked_custom_node(grid_rows, target_i, caller, m } await caller.invalidateControl(); - caller.updateMessage("
To apply the installed/updated/disabled/enabled custom node, please ComfyUI. And refresh browser.", 'cm-reboot-button'); + caller.updateMessage("
To apply the installed/updated/disabled/enabled custom node, please ComfyUI. And refresh browser.", 'cm-reboot-button1'); } }; @@ -92,9 +92,9 @@ export async function install_pip(packages) { const res = await api.fetchApi(`/customnode/install/pip?packages=${packages}`); if(res.status == 200) { - app.ui.dialog.show(`PIP package installation is processed.
To apply the pip packages, please click the button in ComfyUI.`); + app.ui.dialog.show(`PIP package installation is processed.
To apply the pip packages, please click the button in ComfyUI.`); - const rebootButton = document.getElementById('cm-reboot-button'); + const rebootButton = document.getElementById('cm-reboot-button3'); const self = this; rebootButton.addEventListener("click", rebootAPI); @@ -124,9 +124,9 @@ export async function install_via_git_url(url, manager_dialog) { const res = await api.fetchApi(`/customnode/install/git_url?url=${url}`); if(res.status == 200) { - app.ui.dialog.show(`'${url}' is installed
To apply the installed custom node, please ComfyUI.`); + app.ui.dialog.show(`'${url}' is installed
To apply the installed custom node, please ComfyUI.`); - const rebootButton = document.getElementById('cm-reboot-button'); + const rebootButton = document.getElementById('cm-reboot-button4'); const self = this; rebootButton.addEventListener("click", diff --git a/js/snapshot.js b/js/snapshot.js index 2e26df55..e2eed3f4 100644 --- a/js/snapshot.js +++ b/js/snapshot.js @@ -23,7 +23,7 @@ async function restore_snapshot(target) { } finally { await SnapshotManager.instance.invalidateControl(); - SnapshotManager.instance.updateMessage("
To apply the snapshot, please ComfyUI. And refresh browser.", 'cm-reboot-button'); + SnapshotManager.instance.updateMessage("
To apply the snapshot, please ComfyUI. And refresh browser.", 'cm-reboot-button2'); } } }