summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-21 19:03:03 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-21 19:03:03 +0100
commitb7fb20af3a5c98f291204befdb616fdf5daa22fb (patch)
treee460474832248db7cd36de3ae1b8bcf12a18f1be /program/js/app.js
parent303e21fc638c2d65b21eb0d8c02d9ab6f658d6e0 (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.js2
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;