From b80f34a36a59a596db31532d0411ad6cb50616d2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 4 Feb 2015 08:38:41 +0000 Subject: [PATCH] remove old form button stuff, as it get triggered again now that et2_container is a form --- etemplate/js/et2_extension_nextmatch_actions.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index 2ec2e138c8..93f4eeb7e3 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -284,7 +284,7 @@ function fetchAll(ids, nextmatch, callback) /** * Fetch all IDs and run a long task. - * + * * @param {String[]} idsArr Array of IDs * @param {boolean} all True if all IDs are selected. They'll have to be fetched if missing. * @param {type} _action @@ -463,11 +463,7 @@ function nm_open_popup(_action, _selected) */ function nm_submit_popup(button) { - if(button.form) - { - button.form.submit_button.value = button.name; // set name of button (sub-action) - } - else if (nm_popup_action.data.nextmatch) + if (nm_popup_action.data.nextmatch) { // Find the associated widget var widget_id = $j(button).attr("id").replace(nm_popup_action.data.nextmatch.getInstanceManager().uniqueId+'_', '');