diff --git a/__init__.py b/__init__.py index 498f9d94..df0f5907 100644 --- a/__init__.py +++ b/__init__.py @@ -11,7 +11,7 @@ import subprocess # don't remove this from tqdm.auto import tqdm import concurrent -version = "V0.40" +version = "V0.40.1" print(f"### Loading: ComfyUI-Manager ({version})") diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 239de383..4a227d21 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -84,24 +84,24 @@ async function updateComfyUI() { if(response.status == 400) { app.ui.dialog.show('Failed to update ComfyUI.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } if(response.status == 201) { app.ui.dialog.show('ComfyUI has been successfully updated.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; } else { app.ui.dialog.show('ComfyUI is already up to date with the latest version.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; } return true; } catch(exception) { app.ui.dialog.show(`Failed to update ComfyUI / ${exception}`); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } finally { @@ -126,25 +126,25 @@ async function fetchUpdates(update_check_checkbox) { if(response.status != 200 && response.status != 201) { app.ui.dialog.show('Failed to fetch updates.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } if(response.status == 201) { app.ui.dialog.show('There is an updated extension available.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; update_check_checkbox.checked = false; } else { app.ui.dialog.show('All extensions are already up-to-date with the latest versions.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; } return true; } catch(exception) { app.ui.dialog.show(`Failed to update custom nodes / ${exception}`); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } finally { @@ -171,23 +171,23 @@ async function updateAll(update_check_checkbox) { if(response1.status != 200 && response2.status != 201) { app.ui.dialog.show('Failed to update ComfyUI or several extensions.

See terminal log.
'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } if(response1.status == 201 || response2.status == 201) { app.ui.dialog.show('ComfyUI and all extensions have been updated to the latest version.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; } else { app.ui.dialog.show('ComfyUI and all extensions are already up-to-date with the latest versions.'); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; } return true; } catch(exception) { app.ui.dialog.show(`Failed to update ComfyUI or several extensions / ${exception}`); - app.ui.dialog.element.style.zIndex = 9999; + app.ui.dialog.element.style.zIndex = 10010; return false; } finally {