While upgrading Siebel HI to Open UI, we are getting a lot irritating issues. On Oracle Support only you can find that its a product bug with no solution proposed. But our Clients never satisfied with this stupid answer…then what ???
In Mozilla, keyboard shortcuts are not working as expected. Lets discuss it one by one..
BUG#1: Ctrl + S opens download popup in Firefox
How to reproduce this:
- Copy&Paste in a Picklist field
- Press Ctrl+S to save the record
- You will get a download popup
BUG#2: Ctrl+D opens Bookmark popup in Firefox
How to reproduce this:
- Select a row
- Press Ctrl+D
- You will get delete warning message and Bookmark as well.
Possible Solutions:
No solution provided by ORACLE !! So, all we need to find a work around for this issue.
Basically, these are predefined key shortcuts in Mozilla which are getting conflicted by Siebel defined key shortcuts. Somehow we have to suppress it.
Solution#1: Use Javascript to prevent its default behavior
We can easily do this using below code:
$(window).bind('keydown', function(event) {
if (event.ctrlKey || event.metaKey) {
switch (String.fromCharCode(event.which).toLowerCase()) {
case 's':
event.preventDefault();
alert('ctrl-s');
break;
case 'f':
event.preventDefault();
alert('ctrl-f');
break;
case 'g':
event.preventDefault();
alert('ctrl-g');
break;
}
}
});
Solution#2: Using Mozilla add on to turn off shortcuts
We need to ask admin to install firefox add on “Cutstomizable Shortcuts”. With this we can easily disable or change any shortcuts which are having conflicts.
Hope this content will help someone in need..
[su_divider style=”dotted”]
@AskmeSiebel