summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 532a991)
raw | patch | inline | side by side (parent: 532a991)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 06:56:44 +0000 (06:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 06:56:44 +0000 (06:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20726 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 6b40d05aac678ab92146a2c7162fc4d1086c67db..3b9ccb04d64ac3da38bc6bcd3f928d9dda6955a5 100644 (file)
$item = $this->dataModel->getItemById($ids[0]);
// Is an config item.
- if(isset($this->cfgItemMap[$item['type']])){
+ if($this->cfgItemMap[$item['type']] != 'root'){
$release = preg_replace("/^.*\//","", $this->getReleasePath($item['path']));
$path = $this->getItemPath($item['path']);
if($this->cfgItemMap[$item['type']] != 'root'){
if($item['status'] == '-'){
$rpc = $this->config->getRpcHandle();
- $item['values']['itemValues'] = $rpc->getConfigItem($release, $path);
+ $item['values'] = $rpc->getConfigItem($release, $path);
$this->dataModel->setItemStatus($item['path'], 'fetched');
$this->dataModel->setItemValues($item['path'], $item['values']);
}
$this->TemplateEngine->load($this->itemConfig);
$this->TemplateEngine->setTemplate($method.".tpl");
- $this->TemplateEngine->setValues($item['type'],$item['values']['itemValues']);
+ $this->TemplateEngine->setValues($item['type'],$item['values']);
$this->listing->setDialogObject($this->TemplateEngine);
$this->currentObject = $item;
}
}else{
// Update the data model
- $item['values']['itemValues'] = $values;
+ $item['values'] = $values;
$this->dataModel->setItemValues($item['path'], $item['values']);
$this->listing->clearDialogObject();
}