This client side code seems to work in Notes 8.5.2 at least:
dojo.addOnLoad( function(){
dojo.connect( document, 'keydown', function(e){
// 27 -> Key code for ESC -> stop event
if(e.keyCode === 27){ dojo.stopEvent(e); }
});
});
6 comments:
Great tip!!!! Thanks
Thanks, Tommy! I was asked the same thing the other day... was assuming the correct approach would be something like what you posted, but I hadn't gotten an opportunity yet to verify.
No problem guys.. :)
Tommy,
this could be fantastic. Can I implement this at the client level, not being part of the IT group?
I don't think so, if by that you mean that you don't have access to the source code of the XPage..?
that's correct. I don't.
Post a Comment