From 17834f1be8721fa355d6124de51106ecfaede595 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 1 Apr 2022 14:52:40 -0600 Subject: [PATCH] Fix nextmatch changing value back before it could be submitted --- api/js/etemplate/et2_extension_nextmatch_actions.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/api/js/etemplate/et2_extension_nextmatch_actions.js b/api/js/etemplate/et2_extension_nextmatch_actions.js index 4b292e55dd..774c4f8e74 100644 --- a/api/js/etemplate/et2_extension_nextmatch_actions.js +++ b/api/js/etemplate/et2_extension_nextmatch_actions.js @@ -260,18 +260,6 @@ export function nm_action(_action, _senders, _target, _ids) { nextmatch.getInstanceManager().submit(); } - - if(_action.data.nm_action == 'open_popup') - { - // Force nextmatch to re-load affected rows - // Must be after submit, so server gives us up to date info - // Otherwise, old info will be sent and could overwrite the new, - // depending on timing. - nextmatch.refresh(idsArr); - - // Reset action in case there's another one - nextmatch.getValue = old_value; - } } else {