summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da88598)
raw | patch | inline | side by side (parent: da88598)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 12:48:48 +0000 (12:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 12:48:48 +0000 (12:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20645 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/DeviceConfig-list.tpl | patch | blob | history | |
gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/DeviceConfig-list.tpl b/gosa-plugins/goto-ng/admin/newConfigManagement/DeviceConfig-list.tpl
index 0401be9f2590ee89be96b1d5aafa5b472a83f816..963da86ccd8e98484519312598fd5d266e97b929 100644 (file)
</div>
<div class="clear"></div>
-
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 3d32b171405d3108786455f9335a341b41e1012d..5b2a60f2e0edae5b5dc73371ebe6a6143552b802 100644 (file)
if(isset($_POST['ROOT'])){
$this->setCurrentContainer('/root');
}elseif(isset($_POST['BACK'])){
- $this->setCurrentContainer('/root');
+
+ $path = $this->selectedContainer;
+ if($this->dataModel->itemExistsByPath($path)){
+ $data = $this->dataModel->getItemByPath($path);
+ if($data['parentPath']){
+ $this->setCurrentContainer($data['parentPath']);
+ }
+ }
}else{
$this->setCurrentContainer($cont);
}