Fix search

This commit is contained in:
b.makharadze 2025-08-20 18:20:54 +04:00
parent c636cf23fa
commit 1311781b96
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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