summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-11-23 10:47:41 +0300
committerAndrew Dolgov <fox@fakecake.org>2024-11-23 10:47:41 +0300
commitf28df34fece3185f66d2bb96d160328c6dba30e8 (patch)
tree7a8328cde0c8b7937416de284b3d626df19b9788
parent987936f57ab33fbe14bb625426b007061dfa5f1d (diff)
fix action params not hiding in edit action dialog if param-less action was initially selected
-rw-r--r--js/CommonFilters.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js
index 8be9e2613..6a85bf86c 100644
--- a/js/CommonFilters.js
+++ b/js/CommonFilters.js
@@ -324,7 +324,9 @@ const Filters = {
</form>
`);
- dijit.byId("filterDlg_actionSelect").attr('value', action.action_id);
+ const actionSelect = dijit.byId("filterDlg_actionSelect").attr('value', action.action_id);
+
+ edit_action_dialog.toggleParam(actionSelect);
/*xhr.post("backend.php", {op: 'Pref_Filters', method: 'newaction', action: actionStr}, (reply) => {
edit_action_dialog.attr('content', reply);