Code

fixed js menu preset
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Feb 2010 14:29:16 +0000 (14:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Feb 2010 14:29:16 +0000 (14:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15757 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pluglist.inc

index 61dd60fc46384f82d68408629b460efbcf9090e5..5eedb7bf8565b55d2eeb130db47d2624bc1322c0 100644 (file)
@@ -229,7 +229,9 @@ class pluglist {
     if(isset($_GET['plug'])){
       $menu.= "
         <script language='javascript' type='text/javascript'>
-          $('plugMenuId_".$_GET['plug']."').className= 'current'
+          if($('plugMenuId_".$_GET['plug']."')){
+            $('plugMenuId_".$_GET['plug']."').className= 'current'
+          }
         </script>
         "; 
     }