fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13157] prepare for booking


From: Sigurd Nes
Subject: [Fmsystem-commits] [13157] prepare for booking
Date: Thu, 07 May 2015 14:07:59 +0000

Revision: 13157
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13157
Author:   sigurdne
Date:     2015-05-07 14:07:58 +0000 (Thu, 07 May 2015)
Log Message:
-----------
prepare for booking

Modified Paths:
--------------
    branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php

Modified: branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php  
2015-05-07 10:44:24 UTC (rev 13156)
+++ branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php  
2015-05-07 14:07:58 UTC (rev 13157)
@@ -785,15 +785,27 @@
                {
                        if(isset($_SESSION['showall']) && 
!empty($_SESSION['showall']))
                        {
-                               $this->bo->unset_show_all_objects();
+                               unset($_SESSION['showall']);
                        }
                        else
                        {
-                               $this->bo->show_all_objects();
+                               $_SESSION['showall'] = "1";
                        }
                        $this->redirect(array('menuaction' => 
$this->url_prefix.'.index'));
                }
 
+               public function toggle_show_inactive()
+               {
+                       if(isset($_SESSION['showall']) && 
!empty($_SESSION['showall']))
+                       {
+                               unset($_SESSION['showall']);
+                       }
+                       else
+                       {
+                               $_SESSION['showall'] = "1";
+                       }
+                       $this->redirect(array('menuaction' => 
$this->url_prefix.'.index'));
+               }
 /*
                public function use_yui_editor()
                {




reply via email to

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