Bug 257075 [keyboard] User can't select mails which are not next to.
r=aaronleventhal sr=neil git-svn-id: svn://10.0.0.236/trunk@170621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
46882a013a
commit
2eebd5ed25
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user