{:uriI"ªfile:///Users/marten/rgoc/quby/app/assets/javascripts/quby/disable_keys.js?type=application/javascript&id=5a340abbea33b4c23f2fc29738460e4f5f1415975c94fd8b00003c9aad99a766:ET:load_pathI"3/Users/marten/rgoc/quby/app/assets/javascripts;T: filenameI"H/Users/marten/rgoc/quby/app/assets/javascripts/quby/disable_keys.js;T: nameI"quby/disable_keys;T:logical_pathI"quby/disable_keys.js;T:content_typeI"application/javascript;T: sourceI"/// This code is necessary for integrating Roqua into the Poli+ epd. // If not included, user actions in Roqua might break the epd. // WARNING :: This code doens't work in Firefox // Disable all shortKeys document.onkeydown = function(event) { if (event == null){ event = window.event } keyCode = (document.layers) ? keyStroke.which : event.keyCode target = (event.target) ? event.target : event.srcElement if (keyCode != null){ if ((keyCode >= 112 && keyCode <= 123) // F1 t/m F12 || (event.ctrlKey && keyCode == 70) // f (zoeken) || (event.ctrlKey && keyCode == 79) // o (openen) || (event.ctrlKey && keyCode == 80) // p (printen) ) { if (window.event) { event.keyCode = 505; } return false; } if ((keyCode == 8 && (target.tagName != 'INPUT' || (target.type != 'text' && target.type != 'password')) && target.tagName != 'TEXTAREA') // Backspace outside input field || (event.ctrlKey && keyCode == 65) // a (alles selecteren) || (event.ctrlKey && keyCode == 66) // b (favorieten indelen) || (event.ctrlKey && keyCode == 68) // d (bookmark) || (event.ctrlKey && keyCode == 69) // e (zoeken op het web) || (event.ctrlKey && keyCode == 72) // h (geschiedenis) || (event.ctrlKey && keyCode == 73) // i (favorieten) || (event.ctrlKey && keyCode == 76) // l (openen) || (event.ctrlKey && keyCode == 78) // n (nieuw venster) || (event.ctrlKey && keyCode == 82) // r (refresh) || (event.ctrlKey && keyCode == 87) // w (afsluiten) || (event.altKey && keyCode == 37)) // links (back) { return false; } } } ; ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"Vfile-digest:///Users/marten/rgoc/quby/app/assets/javascripts/quby/disable_keys.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF: linkso;;}F: included[I"¸file:///Users/marten/rgoc/quby/app/assets/javascripts/quby/disable_keys.js?type=application/javascript&pipeline=self&id=4e5a4f9002bf1c47e1182c991c741cbd90f6a214d28242addb3b424fa9949526;T: charsetI" utf-8;F: digest"%rÒ^«BÓ°p›ðõêÒ¿åè$¢ ÎVâÃìóíøª: lengthi/:dependencies_digest"%ÍKuuŒÑô<æ… ºïþ€Ô*'$j¤âÞ?{w' :idI"E5a340abbea33b4c23f2fc29738460e4f5f1415975c94fd8b00003c9aad99a766;F: mtimel+´g,]