Code

Updated faiProduct initialization
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Sep 2009 06:22:18 +0000 (06:22 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Sep 2009 06:22:18 +0000 (06:22 +0000)
-Added dn to list of parameters

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

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 0099a68637175dc13b4b3d10156e08a9d27fd054..5d41a5560f967618f2e257df0be94eca1e5d79e7 100644 (file)
@@ -219,7 +219,7 @@ class faiManagement extends plugin
       if($s_action == "opsi_edit"){
         $name = $this->objects[$s_entry]['cn'];
         $cfg = $this->opsi->get_product_properties($name);
-        $this->dialog = new tabs_opsiProdConfig($this->config, $this->config->data['TABS']['OPSIPRODCONFIG'],"","opsi");
+        $this->dialog = new tabs_opsiProdConfig($this->config, $this->config->data['TABS']['OPSIPRODCONFIG'],$name,"opsi");
         if(isset($this->dialog->by_object['opsiProperties'])){
           $this->dialog->by_object['opsiProperties']->set_cfg($cfg);
           $this->dialog->by_object['opsiProperties']->set_product($name);
@@ -470,7 +470,7 @@ class faiManagement extends plugin
 
           $name = $entry['cn'];
           $cfg = $this->opsi->get_product_properties($name);
-          $this->dialog = new tabs_opsiProdConfig($this->config, $this->config->data['TABS']['OPSIPRODCONFIG'],"","opsi");
+          $this->dialog = new tabs_opsiProdConfig($this->config, $this->config->data['TABS']['OPSIPRODCONFIG'],$name,"opsi");
           if(isset($this->dialog->by_object['opsiProperties'])){
             $this->dialog->by_object['opsiProperties']->set_cfg($cfg);
             $this->dialog->by_object['opsiProperties']->set_product($name);