Fix removing signature when switching to identity with an empty sig in HTML mode (#1490470)

pull/289/head
Aleksander Machniak 9 years ago
parent d5f6d655da
commit 8449e936f3

@ -34,6 +34,7 @@ CHANGELOG Roundcube Webmail
- Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)
- Fix some javascript errors in rare situations (#1490441)
- Fix error when using back button after sending an email (#1490009)
- Fix removing signature when switching to identity with an empty sig in HTML mode (#1490470)
RELEASE 1.1.2
-------------

@ -548,9 +548,7 @@ function rcube_text_editor(config, id)
}
}
if (rcmail.env.signatures[id]) {
sigElem.innerHTML = rcmail.env.signatures[id].html;
}
sigElem.innerHTML = rcmail.env.signatures[id] ? rcmail.env.signatures[id].html : '';
}
else if (!rcmail.env.top_posting) {
position_element = $(this.editor.getBody()).children().last();

Loading…
Cancel
Save