pythongosssss / ComfyUI-Custom-Scripts

Enhancements & experiments for ComfyUI, mostly focusing on UI features
MIT License
1.87k stars 144 forks source link

"Manage Custom Words" and "Widget and Property Default" menus not opening. #382

Closed Hujikuio closed 2 weeks ago

Hujikuio commented 3 weeks ago

I remade a fresh portable comfyui install and still have this issue, tried in multiple browsers as well. The browser console log states that the autocompleter.js is not a function and that the server cannot be found.

log
klromans557 commented 3 weeks ago

Having the same problem on a fresh install of ComfyUI through SwarmUI

mingwusuowei commented 3 weeks ago

ComfyUI-Custom-Scripts\web\js\autocompleter.js 495行 app.ui.settings.element.close(); if (typeof app.ui.settings.element.close === "function") { app.ui.settings.element.close(); } else { app.ui.settings.element.style.display = "none"; }

Hujikuio commented 3 weeks ago

ComfyUI-Custom-Scripts\web\js\autocompleter.js 495行 app.ui.settings.element.close();if (typeof app.ui.settings.element.close === "function") { app.ui.settings.element.close(); } else { app.ui.settings.element.style.display = "none"; }

@pythongosssss This seems to fix the issue. I needed to replace the same element.close function in widgetDefaults.js as well though to get the other menu working. Are there any other scripts that I should update the function in?

klromans557 commented 3 weeks ago

Can confirm! After making the same change in both autocompleter.js (ln 495) and widgetDefaults.js (ln 271) I am now able to load the Custom Autocomplete Words menu again.

P10B commented 3 weeks ago

+1, both menus DOA on a clean install, above fix works.

pythongosssss commented 2 weeks ago

Thanks, i've updated the broken bits now!