remove old form button stuff, as it get triggered again now that et2_container is a form

This commit is contained in:
Ralf Becker 2015-02-12 12:22:15 +00:00
parent 646db1aa09
commit 5a13ccbbfc

View File

@ -463,11 +463,7 @@ function nm_open_popup(_action, _selected)
*/ */
function nm_submit_popup(button) function nm_submit_popup(button)
{ {
if(button.form) if (nm_popup_action.data.nextmatch)
{
button.form.submit_button.value = button.name; // set name of button (sub-action)
}
else if (nm_popup_action.data.nextmatch)
{ {
// Find the associated widget // Find the associated widget
var widget_id = $j(button).attr("id").replace(nm_popup_action.data.nextmatch.getInstanceManager().uniqueId+'_', ''); var widget_id = $j(button).attr("id").replace(nm_popup_action.data.nextmatch.getInstanceManager().uniqueId+'_', '');