mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
do NOT return buttons, unless they are pressed
This commit is contained in:
parent
f3ea81f5c6
commit
d7d719a73d
@ -622,7 +622,7 @@ function _egw_json_getFormValue(serialized, child)
|
||||
{
|
||||
//Return if the child doesn't have a name, is disabled, or is a radio-/checkbox and not checked
|
||||
if ((typeof child.name == "undefined") || (child.disabled && child.disabled == true) ||
|
||||
(child.type && (child.type == 'radio' || child.type == 'checkbox') && (!child.checked)))
|
||||
(child.type && (child.type == 'radio' || child.type == 'checkbox' || child.type == 'button' || child.type == 'submit') && (!child.checked)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user