From 21948082441bc1a8eb53bc847291ffafa907eeb4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 26 Jul 2019 10:25:28 -0600 Subject: [PATCH] Etemplate - fix bug where context menu actions only worked the first time --- api/js/etemplate/et2_extension_nextmatch_actions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_extension_nextmatch_actions.js b/api/js/etemplate/et2_extension_nextmatch_actions.js index 0dc8f1cff8..9bb8373df7 100644 --- a/api/js/etemplate/et2_extension_nextmatch_actions.js +++ b/api/js/etemplate/et2_extension_nextmatch_actions.js @@ -236,6 +236,8 @@ function nm_action(_action, _senders, _target, _ids) "select_all": _ids.all, "checkboxes": checkbox_values }); + // Skip this one, it would cause the nm to change ID on reload + delete value.id; value[nextmatch.options.settings.action_var]= _action.id; // Don't try to send the nextmatch