fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [8804]


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [8804]
Date: Wed, 08 Feb 2012 07:40:42 +0000

Revision: 8804
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8804
Author:   erikhl
Date:     2012-02-08 07:40:40 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/inc/class.uicontrol_location.inc.php

Modified: trunk/controller/inc/class.uicontrol_location.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol_location.inc.php       2012-02-08 
06:49:26 UTC (rev 8803)
+++ trunk/controller/inc/class.uicontrol_location.inc.php       2012-02-08 
07:40:40 UTC (rev 8804)
@@ -182,7 +182,7 @@
                
                function register_control_to_location()
                {
-                       if(phpgw::get_var('save_component'))
+                       if(phpgw::get_var('save_location'))
                        {
                                //add component to control using component item 
ID
                                $items_checked = array();
@@ -210,11 +210,12 @@
                                        }
                                }
                                
-                               if($control_location_id > 0)
+/*                             if($control_location_id > 0)
                                        return json_encode( array( "status" => 
"saved" ) );
                                else
                                        return json_encode( array( "status" => 
"not_saved" ) );
-                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'controller.uicheck_list_for_component.index'));
+*/
+                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'controller.uicontrol_location.index'));
 
                        }
                        else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]