summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-01 20:06:46 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-01 20:06:46 +0000
commit1df7e640b463942121c53105b987516ad805f399 (patch)
tree3964dd0b0a128c66a70eda5891d62619b0ebacb8 /roundcubemail/program
parent13cd98332a151cde09895c1ce2281e1f3d91ef95 (diff)
- Fix adding signatures (#1487965)
git-svn-id: https://svn.roundcube.net/trunk@4898 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index efd1cc776..c96c3ebee 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -2867,7 +2867,7 @@ function rcube_webmail()
this.set_caret_pos(input_message, this.env.top_posting ? 0 : $(input_message).val().length);
// add signature according to selected identity
// if we have HTML editor, signature is added in callback
- if (input_from.attr('type') == 'select-one' && $("input[name='_draft_saveid']").val() == '') {
+ if (input_from.prop('type') == 'select-one' && $("input[name='_draft_saveid']").val() == '') {
this.change_identity(input_from[0]);
}
}
@@ -2906,7 +2906,7 @@ function rcube_webmail()
input_message = $("[name='_message']");
// check sender (if have no identities)
- if (input_from.attr('type') == 'text' && !rcube_check_email(input_from.val(), true)) {
+ if (input_from.prop('type') == 'text' && !rcube_check_email(input_from.val(), true)) {
alert(this.get_label('nosenderwarning'));
input_from.focus();
return false;