mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 07:02:08 +01:00
Don't try to submit if the action is not a context menu (eg: drag, drop)
This commit is contained in:
parent
a29b69edae
commit
3623ee6e72
@ -23,7 +23,7 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
if (_action.checkbox && (!_action.data || typeof _action.data.nm_action == 'undefined')) return;
|
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 == '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')
|
if(typeof _ids == 'undefined')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user