forked from extern/egroupware
Fix etemplate2 submit() method for those buttons which they do not have nested ids
This commit is contained in:
parent
5ba884f4a6
commit
296530b320
@ -539,9 +539,10 @@ etemplate2.prototype.submit = function(button, async, no_validation)
|
||||
target = target[idx];
|
||||
}
|
||||
}
|
||||
else if (typeof values.button == 'undefined')
|
||||
else if (typeof values.button == 'undefined' || jQuery.isEmptyObject(values.button))
|
||||
{
|
||||
values.button = button.id;
|
||||
delete values.button;
|
||||
values[button.id] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user