Группа :: Коммуникации
Пакет: sogo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: sogo-alt-fix-enter-letters-in-address-field.patch
Скачать
Скачать
commit 6903c19ff6c57b74ecd24264e35ba8826f30fc60
Author: Ivan Zakharyaschev <imz@altlinux.org>
Date: Thu Jan 25 14:58:37 2018 +0300
MessageEditorController.js: use comma and semicolon *chars* rather than *keycodes* as separators
This fixes entering some letters (for example, Cyrillic Be or Zhe) in the
address fields (like To:) of the message editor so that they do not act as
"separator" keys (like comma or semicolon) any more; this error's cause
was that these letters and the separators are on the same physical keys.
(Thanks Volker Braun for implementing the underlying feature
for this fix in the old unsupported angular-material.)
Fixes:
* https://sogo.nu/bugs/view.php?id=4103
* https://sogo.nu/bugs/view.php?id=3573
* https://sogo.nu/bugs/view.php?id=3513
* https://lists.inverse.ca/sogo/arc/users/2016-07/msg00032.html
* https://sogo.nu/bugs/view.php?id=4109 (probably, too,
although the bug report is not clear enough)
diff --git a/UI/WebServerResources/js/Mailer/MessageEditorController.js b/UI/WebServerResources/js/Mailer/MessageEditorController.js
index f6fa6330a..9bbbbc9d7 100644
--- a/UI/WebServerResources/js/Mailer/MessageEditorController.js
+++ b/UI/WebServerResources/js/Mailer/MessageEditorController.js
@@ -26,8 +26,8 @@
this.recipientSeparatorKeys = [
$mdConstant.KEY_CODE.ENTER,
$mdConstant.KEY_CODE.TAB,
- $mdConstant.KEY_CODE.COMMA,
- $mdConstant.KEY_CODE.SEMICOLON
+ ',',
+ ';'
];
this.removeAttachment = removeAttachment;
this.sendState = false;