Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Disable In Inputfields

$
0
0
Hi!

In the Include block I see this piece of code to disable the shortcut if the user is in a Inputfield:
//The function to be called at keypressvar func = function(e) {
            e = e || window.event;if(opt['disable_in_input']) { //Don't enable shortcut keys in Input, Textarea fieldsvar element;if(e.target) element=e.target;elseif(e.srcElement) element=e.srcElement;if(element.nodeType==3) element=element.parentNode;if(element.tagName == 'INPUT' || element.tagName == 'TEXTAREA') return;
            }
However it look like it's not working. When I use the demo page it also fails.

Kind Regards,
Martijn Habraken

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>