зеркало из https://github.com/mozilla/pjs.git
2 xul files updated reviewed by saari and mcluskey(sp)
This commit is contained in:
Родитель
b62dc1bd09
Коммит
9c7a273212
|
@ -6,18 +6,14 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<keyset id="browserKeySet">
|
||||
<key id="key_home" key="a" shift="false" control="false"
|
||||
onkeypress="
|
||||
dump('hi hello stuff\n');
|
||||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
|
||||
controller.doCommand('cmd_scrollPageUp');"/>
|
||||
<key id="key_home" keycode="VK_PAGEUP" shift="false" control="false"
|
||||
<key id="key_page_up" keycode="VK_PAGE_UP" shift="false" control="false"
|
||||
onkeypress="
|
||||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
|
||||
dump('foo\n');
|
||||
if(controller) dump('yeah, it is a controller\n');
|
||||
controller.doCommand('cmd_scrollPageUp');"/>
|
||||
<key id="key_home" keycode="VK_PAGEDOWN" shift="false" control="false"
|
||||
<key id="key_page_down" keycode="VK_PAGE_DOWN" shift="false" control="false"
|
||||
onkeypress="
|
||||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
|
||||
|
|
|
@ -66,12 +66,12 @@
|
|||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
|
||||
controller.doCommand('cmd_wordNext');"/>
|
||||
<key id="key_home" keycode="VK_PAGEUP" shift="false" control="false"
|
||||
<key id="key_home" keycode="VK_PAGE_UP" shift="false" control="false"
|
||||
onkeypress="
|
||||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
|
||||
controller.doCommand('cmd_scrollPageUp');"/>
|
||||
<key id="key_home" keycode="VK_PAGEDOWN" shift="false" control="false"
|
||||
<key id="key_home" keycode="VK_PAGE_DOWN" shift="false" control="false"
|
||||
onkeypress="
|
||||
var controller =
|
||||
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
|
||||
|
|
Загрузка…
Ссылка в новой задаче