From 3623ee6e7279f9a2b397deb2584d9ace6b0c8ae9 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 1 Apr 2013 18:19:59 +0000 Subject: [PATCH] Don't try to submit if the action is not a context menu (eg: drag, drop) --- etemplate/js/et2_extension_nextmatch_actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index b9013868ab..73f9b5e407 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -23,7 +23,7 @@ function nm_action(_action, _senders, _target, _ids) if (_action.checkbox && (!_action.data || typeof _action.data.nm_action == 'undefined')) return; if (typeof _action.data == 'undefined' || !_action.data) _action.data = {}; - if (typeof _action.data.nm_action == 'undefined') _action.data.nm_action = 'submit'; + if (typeof _action.data.nm_action == 'undefined' && _action.type == 'popup') _action.data.nm_action = 'submit'; if(typeof _ids == 'undefined') {