зеркало из https://github.com/mozilla/pjs.git
Bug 257075 [keyboard] User can't select mails which are not next to.
r=aaronleventhal sr=neil
This commit is contained in:
Родитель
c21d276ff3
Коммит
eee7a20d0b
|
@ -484,7 +484,7 @@
|
|||
<handler event="keypress">
|
||||
<![CDATA[
|
||||
var c = this.currentIndex;
|
||||
if (event.keyCode == ' '.charCodeAt(0)) {
|
||||
if (event.charCode == ' '.charCodeAt(0)) {
|
||||
if (!this.view.selection.isSelected(c))
|
||||
this.view.selection.toggleSelect(c);
|
||||
}
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
<handler event="keypress">
|
||||
<![CDATA[
|
||||
var c = this.currentIndex;
|
||||
if (event.keyCode == ' '.charCodeAt(0)) {
|
||||
if (event.charCode == ' '.charCodeAt(0)) {
|
||||
if (!this.view.selection.isSelected(c))
|
||||
this.view.selection.toggleSelect(c);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче