Code

Fixed department list
[gosa.git] / plugins / admin / fai / class_faiPackageNew.inc
index e9aaa6d2625fbfe616bce67a57de50e2caf0c758..b3330346b43bc76c8d0e4bf050d999836aebfdd2 100644 (file)
@@ -32,6 +32,7 @@ class faiPackageNew extends plugin
     $display = "";
     $smarty = get_smarty(); 
     $atr = $this->getServerInfos(); 
+    $releases= array();
     foreach($atr as $release => $sections){
       $releases[$release]=$release;
     }
@@ -62,12 +63,11 @@ class faiPackageNew extends plugin
     if(is_array($secs)){
       sort($secs);
       $secs= array_unique($secs);
-      $rel  = " onClick='document.mainform.submit();' ";
       foreach($secs as $section){
         if(in_array($section,$this->FAIdebianSection)){
-          $str .= "<input ".$rel." type='checkbox' value='".$section."' name='section_".$section."' checked>".$section."<br>";
+          $str .= "<input type='checkbox' value='".$section."' name='section_".$section."' checked>".$section."<br>";
         }else{
-          $str .= "<input ".$rel." type='checkbox' value='".$section."' name='section_".$section."'>".$section."<br>";
+          $str .= "<input type='checkbox' value='".$section."' name='section_".$section."'>".$section."<br>";
         }
         $str .="<input type='hidden' name='wasOnPage_".$section."'>";
       }