зеркало из https://github.com/mozilla/pjs.git
[XForms] range up/down keyboard navigation regression. Bug 356432, r=doronr+olli
This commit is contained in:
Родитель
f465d26fa8
Коммит
645d163177
|
@ -699,17 +699,17 @@
|
|||
nsIEvent = Components.interfaces.nsIDOMKeyEvent;
|
||||
switch (event.keyCode) {
|
||||
case nsIEvent.DOM_VK_RIGHT:
|
||||
case nsIEvent.DOM_VK_DOWN:
|
||||
case nsIEvent.DOM_VK_UP:
|
||||
this.value += this.step;
|
||||
break;
|
||||
case nsIEvent.DOM_VK_LEFT:
|
||||
case nsIEvent.DOM_VK_UP:
|
||||
case nsIEvent.DOM_VK_DOWN:
|
||||
this.value -= this.step;
|
||||
break;
|
||||
case nsIEvent.DOM_VK_PAGE_DOWN:
|
||||
case nsIEvent.DOM_VK_PAGE_UP:
|
||||
this.value += this.step * 2;
|
||||
break;
|
||||
case nsIEvent.DOM_VK_PAGE_UP:
|
||||
case nsIEvent.DOM_VK_PAGE_DOWN:
|
||||
this.value -= this.step * 2;
|
||||
break;
|
||||
case nsIEvent.DOM_VK_END:
|
||||
|
|
Загрузка…
Ссылка в новой задаче