diff options
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index bd52298d2..372a29906 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3688,7 +3688,7 @@ function rcube_webmail() if (elem.type == 'button' || elem.type == 'submit' || (elem.type == 'hidden' && elem.name != '_is_html')) { break; } - formdata[elem.name] = elem.type != 'checkbox' || elem.checked ? elem.value : ''; + formdata[elem.name] = elem.type != 'checkbox' || elem.checked ? $(elem).val() : ''; if (formdata[elem.name] != '' && elem.type != 'hidden') empty = false; |