Author: jablko
Date: Sun Oct 17 10:20:28 2010
New Revision: 8191

Log:
Delegate to default edit action

Modified:
   trunk/apps/qubit/modules/function/actions/editAction.class.php

Modified: trunk/apps/qubit/modules/function/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/function/actions/editAction.class.php      Sun Oct 
17 06:22:26 2010        (r8190)
+++ trunk/apps/qubit/modules/function/actions/editAction.class.php      Sun Oct 
17 10:20:28 2010        (r8191)
@@ -286,18 +286,12 @@
    */
   protected function processForm()
   {
-    foreach ($this->form as $field)
-    {
-      $this->processField($field);
-    }
-
     $this->updateRelations();
     $this->updateOtherRelations('relatedEntity');
     $this->updateOtherRelations('relatedResource');
     $this->deleteRelations();
 
-    // Save function after updating it's attributes
-    $this->resource->save();
+    return parent::processForm();
   }
 
   /**

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to