I got an better idea and this is probably how it should work.
To keep the hot keys activated you need to keep the cursor on the hot key button,
but when I pull the cursor up to the text-fields, the hot keys are still active because the hot key button is covered by HotKeyEntriesBox div
I changed this in vicidial.php:
<span style="position:absolute;left:5px;top:<?php echo $HTheight ?>px;z-index:<?php $zi++; echo $zi ?>;" id="HotKeyEntriesBox">
To:
<span style="position:absolute;left:5px;top:<?php echo $HTheight-35 ?>px;z-index:<?php $zi++; echo $zi ?>;" id="HotKeyEntriesBox">
Now the HotKeyEntriesBox appears about 5px above the Hot Key button.
I use Iceweasel browser (firefox for debian) and screen resolution: 1280x1024 pixels (382x302 millimeters)
when I login with resolution: 1680x1050 the HotKeyEntriesBox is about 15px above the hot key button
Now there wont be no more accidental hot key registrations when typing in a order value because when the cursor leaves the button to click in a text-field the hot keys wont be active till they move the cursor back to the hot key button.
It would probably be possible to make this dynamic, put a value here: $HTheight-$VariableBasedOnScreenRes I think that would be a better feature request
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com