From f8e0e1d4eddc7ac2f9133ad67b8733fcbef91209 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 1 Feb 2017 09:03:42 +0100 Subject: [PATCH] Fix bug where signature couldn't be added above the quote in Firefox 51 (#5628) --- CHANGELOG | 1 + program/js/app.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ebe05261a..d243e1738 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ CHANGELOG Roundcube Webmail - Fix bug where mail content frame couldn't be reset in some corner cases (#5608) - Fix so group/addressbook selection is retained on page refresh +- Fix bug where signature couldn't be added above the quote in Firefox 51 (#5628) RELEASE 1.1.7 ------------- diff --git a/program/js/app.js b/program/js/app.js index 698824a82..a1946ee90 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3425,6 +3425,8 @@ function rcube_webmail() // add signature according to selected identity // if we have HTML editor, signature is added in a callback if (input_from.prop('type') == 'select-one') { + // for some reason the caret initially is not at pos=0 in Firefox 51 (#5628) + this.set_caret_pos(input_message, 0); this.change_identity(input_from[0]); }