diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-11-21 19:03:03 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-11-21 19:03:03 +0100 |
commit | b7fb20af3a5c98f291204befdb616fdf5daa22fb (patch) | |
tree | e460474832248db7cd36de3ae1b8bcf12a18f1be /program/js/app.js | |
parent | 303e21fc638c2d65b21eb0d8c02d9ab6f658d6e0 (diff) |
Fix issue where subject input might get filled with "null" string (IE8)
Diffstat (limited to 'program/js/app.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; |