Hello,
we use SmartGWT 3.1 (v8.3p_2014-02-24/PowerEdition) to have shortcuts (like Alt+Ctrl+B) on MenuItems which work flawlessly.
Migrating the project to use SmartGwt 5.0p (v10.0p_2015-02-11) it does not work anymore.
Tested with IE 11, Firefox 35 and Chrome 40
I can see an error in the Developer Console, I cannot interpret:
tack from error.stack:
Menu.setDynamicItems(<no args: exited>) on [Menu ID:isc_CamMenu_7] @ ISC_Grids.js:3180:26
Menu.menuKey(<no args: exited>) on [Menu ID:isc_CamMenu_7] @ ISC_Grids.js:3202:166
eval(<no args: exited>) @ [no file]:3:15
[c]Page.handleKeyPress(<no args: exited>) @ ISC_Core.js:1303:9
[c]EventHandler.handleKeyPress(<no args: exited>) @ ISC_Core.js:1345:35
EventHandler._handleNativeKeyUp(<no args: exited>) @ ISC_Core.js:1332:78
[c]EventHandler.dispatch(_1=>[c]EventHandler.$kb(), _2=>[object KeyboardEvent]) @ ISC_Core.js:1637:108
HTMLDocument.eval(event=>[object KeyboardEvent]) @ [no file]:3:123
Here our code:
MenuItem removeNodeMenuItem = new MenuItem("Remove <u>B</u>ranch");
removeNodeMenuItem.setKeyTitle("Cltr+Alt+B");
KeyIdentifier key = new KeyIdentifier();
key.setCtrlKey(true);
key.setAltKey(true);
key.setKeyName("B");
removeNodeMenuItem.setKeys(key);
Thank you for your help in advance.
we use SmartGWT 3.1 (v8.3p_2014-02-24/PowerEdition) to have shortcuts (like Alt+Ctrl+B) on MenuItems which work flawlessly.
Migrating the project to use SmartGwt 5.0p (v10.0p_2015-02-11) it does not work anymore.
Tested with IE 11, Firefox 35 and Chrome 40
I can see an error in the Developer Console, I cannot interpret:
tack from error.stack:
Menu.setDynamicItems(<no args: exited>) on [Menu ID:isc_CamMenu_7] @ ISC_Grids.js:3180:26
Menu.menuKey(<no args: exited>) on [Menu ID:isc_CamMenu_7] @ ISC_Grids.js:3202:166
eval(<no args: exited>) @ [no file]:3:15
[c]Page.handleKeyPress(<no args: exited>) @ ISC_Core.js:1303:9
[c]EventHandler.handleKeyPress(<no args: exited>) @ ISC_Core.js:1345:35
EventHandler._handleNativeKeyUp(<no args: exited>) @ ISC_Core.js:1332:78
[c]EventHandler.dispatch(_1=>[c]EventHandler.$kb(), _2=>[object KeyboardEvent]) @ ISC_Core.js:1637:108
HTMLDocument.eval(event=>[object KeyboardEvent]) @ [no file]:3:123
Here our code:
MenuItem removeNodeMenuItem = new MenuItem("Remove <u>B</u>ranch");
removeNodeMenuItem.setKeyTitle("Cltr+Alt+B");
KeyIdentifier key = new KeyIdentifier();
key.setCtrlKey(true);
key.setAltKey(true);
key.setKeyName("B");
removeNodeMenuItem.setKeys(key);
Thank you for your help in advance.
Comment