Fix cursor position after inserting a group to a recipient input using autocompletion (#7267)

... for larry and classic skins.
pull/7282/head
Aleksander Machniak 4 years ago
parent b3b5b9665d
commit 0fbd184294

@ -22,6 +22,7 @@ CHANGELOG Roundcube Webmail
- Fix missing contact display name in QR Code data (#7257)
- Fix so button label in Select image/media dialogs is "Close" not "Cancel" (#7246)
- Fix regression in testing database schema on MSSQL (#7227)
- Fix cursor position after inserting a group to a recipient input using autocompletion (#7267)
RELEASE 1.4.3
-------------

@ -6078,7 +6078,7 @@ function rcube_webmail()
input.value = pre + to + end;
// set caret to insert pos
this.set_caret_pos(input, p + to.length);
this.set_caret_pos(input, cpos + to.length - from.length);
// run onchange action on the element
$(input).trigger('change', [true]);

Loading…
Cancel
Save