diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index 10df0550f8322a226860ed97a9891ca8f68d603b..911fbe0318fbc0d6d6df52fec068dbb53e9dea0a 100644 (file)
$found = false;
/* Set gotoMode to active if we there was an ogroup selected . (save_object_directly) */
- foreach(array("workgeneric","servgeneric") as $tab){
+ foreach(array("workgeneric"=>"active","servgeneric"=>"active","termgeneric"=>"graphic") as $tab => $value){
if(isset($this->systab->by_object[$tab]->gotoMode)) {
$found = true;
- $this->systab->by_object[$tab]->gotoMode = "active";
+ $this->systab->by_object[$tab]->gotoMode = $value;
}
}
if(!$found){
/* This array represents the combination between checkboxes and search filters */
$objs = array( "ShowServers" => array("CLASS" => "goServer" ,"TREE" => "ou=servers,ou=systems," ),
- "ShowTerminals" => array("CLASS" => "goHard" ,"TREE" => "ou=terminals,ou=systems,"),
+ "ShowTerminals" => array("CLASS" => "gotoTerminal" ,"TREE" => "ou=terminals,ou=systems,"),
"ShowPrinters" => array("CLASS" => "gotoPrinter" ,"TREE" => "ou=printers,ou=systems," ),
"ShowDevices" => array("CLASS" => "ieee802Device" ,"TREE" => "ou=netdevices,ou=systems," ),
"ShowPhones" => array("CLASS" => "goFonHardware" ,"TREE" => "ou=phones,ou=systems," ),