Fix search
This commit is contained in:
parent
c636cf23fa
commit
1311781b96
@ -318,7 +318,7 @@
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.searchId \u003d \"\"\n\tself.session.custom.deviceSearchId \u003d \"\"\n\tsystem.perspective.closePopup(id \u003d \"TagSearch\")"
|
||||
"script": "\tconfig.project_config.reset_highlights(self)"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
|
||||
@ -80,7 +80,7 @@ def reset_highlights(self):
|
||||
|
||||
# 2. Close popup and docks
|
||||
system.perspective.closePopup(id="TagSearch")
|
||||
for dock_id in ["Docked-East-VFD", "Docked-East-MCM", "Docked-East-SNP"]:
|
||||
for dock_id in ["Docked-East-VFD", "Docked-East-MCM", "Docked-East-SNP", "Docked-East-EPC", "Docked-East-DS", "Docked-East-Extendo", "Docked-East-BTN", "Docked-East-SS-BTN"]:
|
||||
system.perspective.closeDock(dock_id)
|
||||
|
||||
# 3. Trigger CLEAR state via navigate to same view
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user