[limb-svn] r6273 - 3.x/trunk/limb/cms/src/controller

svn at limb-project.com svn at limb-project.com
Fri Sep 7 15:13:23 MSD 2007


Author: pachanga
Date: 2007-09-07 15:13:22 +0400 (Fri, 07 Sep 2007)
New Revision: 6273
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6273

Modified:
   3.x/trunk/limb/cms/src/controller/AdminObjectController.class.php
Log:
-- AdminObjectController :: _endDialog() added, it calls closePopup() internally, and can be overridden

Modified: 3.x/trunk/limb/cms/src/controller/AdminObjectController.class.php
===================================================================
--- 3.x/trunk/limb/cms/src/controller/AdminObjectController.class.php	2007-09-07 10:23:50 UTC (rev 6272)
+++ 3.x/trunk/limb/cms/src/controller/AdminObjectController.class.php	2007-09-07 11:13:22 UTC (rev 6273)
@@ -91,10 +91,15 @@
       else
         $this->_onAfterEdit();
 
-      $this->closePopup();
+      $this->_endDialog();
     }
   }
 
+  protected function _endDialog()
+  {
+    $this->closePopup();
+  }
+
   protected function _initCreateForm() {}
   protected function _initEditForm() {}
   protected function _onBeforeSave() {}



More information about the limb-svn mailing list