aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-22 23:20:30 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-22 23:20:30 +0300
commitf4e931f18fa4f94aece1f4dabd4dd0d635ecec13 (patch)
tree89f10f931a3808f6b603c2bb72ee70cb92e28c1c /modules/ui_extra_networks.py
parent569dc1919c23329ceaec2162f86ca0fafdee39f5 (diff)
put extra networks controls row into the tabs UI element for #14588
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r--modules/ui_extra_networks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py
index 157b3a6d..325d848e 100644
--- a/modules/ui_extra_networks.py
+++ b/modules/ui_extra_networks.py
@@ -672,7 +672,7 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname):
for page, tab in zip(ui.stored_extra_pages, related_tabs):
jscode = (
"function(){{"
- f"extraNetworksTabSelected('{tabname}', '{tabname}_{page.extra_networks_tabname}_prompts', {str(page.allow_prompt).lower()}, {str(page.allow_negative_prompt).lower()});"
+ f"extraNetworksTabSelected('{tabname}', '{tabname}_{page.extra_networks_tabname}_prompts', {str(page.allow_prompt).lower()}, {str(page.allow_negative_prompt).lower()}, '{tabname}_{page.extra_networks_tabname}');"
f"applyExtraNetworkFilter('{tabname}_{page.extra_networks_tabname}');"
"}}"
)