{:uriI"file:///app/app/assets/javascripts/quby/disable_keys.js?type=application/javascript&pipeline=self&id=be6eddeaf05faa70547548e77c7101e5810d7b32ede04c565a76e12cbb6d4380:ET:load_pathI" /app/app/assets/javascripts;T: filenameI"5/app/app/assets/javascripts/quby/disable_keys.js;T: nameI"quby/disable_keys;T:logical_pathI"quby/disable_keys.self.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"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"Cfile-digest:///app/app/assets/javascripts/quby/disable_keys.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%m^}2ӎDP43^SWC: lengthi-:dependencies_digest"%4 I> 1:ʆyJ %Ɂ!:idI"Ebe6eddeaf05faa70547548e77c7101e5810d7b32ede04c565a76e12cbb6d4380;F: mtimel+g,]