diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 10:47:41 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 10:47:41 +0300 |
| commit | f28df34fece3185f66d2bb96d160328c6dba30e8 (patch) | |
| tree | 7a8328cde0c8b7937416de284b3d626df19b9788 | |
| parent | 987936f57ab33fbe14bb625426b007061dfa5f1d (diff) | |
fix action params not hiding in edit action dialog if param-less action was initially selected
| -rw-r--r-- | js/CommonFilters.js | 4 |
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); |