summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f0e051)
raw | patch | inline | side by side (parent: 8f0e051)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Oct 2010 13:26:21 +0000 (13:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Oct 2010 13:26:21 +0000 (13:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20142 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc
index de2289dfc1b1ff7d114c4ad232638ff1f8268571..34ec9dba2e955c14b09d0113b1f34a04d216677e 100644 (file)
}
-
function editEntry($ids)
{
foreach($ids as $id){
function openEntry($ids)
{
- foreach($ids as $id){
- $item = $this->dataModel->getItemById($id);
- if($item){
- if(in_array($item['type'], array('Distribution', 'Release', 'Component'))){
- $this->setCurrentContainer($item['path'], $this->selectedContainer);
- }
+ $id = $ids[0];
+ $item = $this->dataModel->getItemById($id);
+ if($item){
+ if(in_array($item['type'], array('Distribution', 'Release'))){
+ $this->setCurrentContainer($item['path'], $this->selectedContainer);
+ }else{
+ $this->editEntry(array($id));
}
}
}