Etemplate - fix bug where context menu actions only worked the first time

This commit is contained in:
nathangray 2019-07-26 10:25:28 -06:00
parent c8151c6f30
commit 2194808244

View File

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