summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 401a6e5)
raw | patch | inline | side by side (parent: 401a6e5)
| author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 29 Sep 2010 15:42:02 +0000 (15:42 +0000) | ||
| committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 29 Sep 2010 15:42:02 +0000 (15:42 +0000) | 
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19860 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 cc38bd09000e7cc8b69b279b3c63a11d25248ade..0bc9d755b243d80b3a6bf5c1167da8df60747f40 100644 (file)
     }
+    function cancelItemEdit()
+    {
+        $this->closeDialogs();
+        $this->dialog = FALSE;
+    }
+    
+    
+    function saveItemChanges()
+    {
+        // Save eventually changed values
+        if($this->currentItem){
+            foreach($this->TemplateEngine->getWidgets() as $widget){
+                $this->currentItem['values'][$widget->getName()] = $widget->getValue();
+            }
+        }
+        $this->closeDialogs();
+        $this->dialog = FALSE;
+    }
+
+
     function openEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
     {
         $this->base = $this->currentItemValues[$target[0]]['base'];
     }
-    function cancelItemEdit()
-    {
-        $this->closeDialogs();
-        $this->dialog = FALSE;
-    }
-    
-
     /*! \brief      Add a new child-item to the currently selected one. 
      *               
      *  @param  String  type    The 'type' of the new object, eg. 'KickstartTemplate'
         $this->currentItemValues[$name] = $new;
         $current['children'][$name] = &$this->currentItemValues[$name];
     }
-
-    
-    function saveItemChanges()
-    {
-
-        // Save eventually changed values
-        if($this->currentItem){
-            foreach($this->TemplateEngine->getWidgets() as $widget){
-                $this->currentItem['values'][$widget->getName()] = $widget->getValue();
-            }
-        }
-        $this->closeDialogs();
-    }
     /*! \brief      Selects an item as active and takes care 
![[tokkee]](http://tokkee.org/images/avatar.png)
