summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12eee36)
raw | patch | inline | side by side (parent: 12eee36)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 12:56:40 +0000 (12:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 12:56:40 +0000 (12:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20732 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 fe3126be22bf0218f20d1afe0745dc9adf45dc68..a0d5cf78e3d3e59d98e29c525767f28070072650 100644 (file)
$this->listing->clearDialogObject();
}
}else{
-
+
// Write the modifications back to the server.
$rpc = $this->config->getRpcHandle();
$res = $rpc->setConfigItem($release, $oldItemPath, $type, $values);
}else{
// Update the data model
- $item['values'] = $values;
- $this->dataModel->setItemValues($item['path'], $item['values']);
- $this->dataModel->moveItem($oldPath, $newPath);
+ $this->dataModel->setItemValues($oldPath, $values);
+ if($oldPath != $newPath){
+ $this->dataModel->moveItem($oldPath, $newPath);
+ }
$this->listing->clearDialogObject();
}
}