fix: dismiss_events [command] prevents popup close on click
This commit is contained in:
parent
7711d6ce82
commit
481dacde23
@ -15,7 +15,7 @@
|
|||||||
{"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [
|
{"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [
|
||||||
{"wid": "self", "event": "click", "actiontype": "urlwidget",
|
{"wid": "self", "event": "click", "actiontype": "urlwidget",
|
||||||
"target": "Popup",
|
"target": "Popup",
|
||||||
"popup_options": {"auto_close": false},
|
"popup_options": {"dismiss_events": ["command"]},
|
||||||
"options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}}
|
"options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}}
|
||||||
]}
|
]}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user