Code

Updated gosa.js
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Apr 2010 09:07:08 +0000 (09:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Apr 2010 09:07:08 +0000 (09:07 +0000)
-Events for 'keypress' were added twice

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17928 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/include/gosa.js

index e7bef6e73406732afcc9ef118701821da7b19233..83f956fc712872216a747569d1c5554ab954ebb4 100644 (file)
@@ -214,13 +214,6 @@ function changeTripleSelectState_2nd_neg(firstTriggerField, secondTriggerField,
        }
 }
 
-// work together to analyze keystrokes
-if (Prototype.Browser.Gecko){
-       window.onkeypress= keyHandler;
-} else {
-       document.onkeydown= keyHandler;
-}
-
 
 function popup(target, name) {
        var mypopup=