summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7344a1)
raw | patch | inline | side by side (parent: b7344a1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 12:16:30 +0000 (12:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Apr 2011 12:16:30 +0000 (12:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20730 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagementDataModel.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagementDataModel.inc
index d742056f1398894b43f07e564662e1b97985c9b2..46ccd28862233e95355534c5fb21d8e24dd9939e 100644 (file)
// Append the linear entry.
$this->data['linear'][$to] = &$parentTo['children'][$to];
+
+ // Update id->Path mapping
+ $id = $this->data['linear'][$to]['id'];
+ $this->idToPath[$id] = $to;
+
}
function removeItem($path)
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 1d6f9a02327f3bcb8e1f25666676f8d32e76f63c..321ef0bb35dd218d8b08f741560e785d22b2a630 100644 (file)
$this->dataModel->setItemValues($item['path'], $item['values']);
$this->dataModel->moveItem($oldPath, $newPath);
+
+ print_a($this);
+
$this->listing->clearDialogObject();
}
}