summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f77f4b)
raw | patch | inline | side by side (parent: 8f77f4b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Sep 2010 09:37:37 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Sep 2010 09:37:37 +0000 (09:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19794 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc
index 61b1209fcbd892382c331a8b55a95fcdcba12b21..53f917db2afdb2e311f815c4eefa8c393836ee9a 100644 (file)
function setCurrentItem($item)
{
if($this->currentItemName == $item) return;
+
+ // Save eventually changed values
+ if($this->currentItem){
+ foreach($this->TemplateEngine->getWidgets() as $widget){
+ $this->currentItem['values'][$widget->getName()] = $widget->getValue();
+ }
+ }
+
+
$this->currentItemName = $item;
$this->currentItem = &$this->currentItemValues[$item];
$this->currentItemType = $this->currentItem['type'];