fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12425]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12425]
Date: Fri, 05 Dec 2014 23:10:16 +0000

Revision: 12425
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12425
Author:   nelson224
Date:     2014-12-05 23:10:16 +0000 (Fri, 05 Dec 2014)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uientity.inc.php

Modified: branches/dev-syncromind/property/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uientity.inc.php 2014-12-05 
23:09:42 UTC (rev 12424)
+++ branches/dev-syncromind/property/inc/class.uientity.inc.php 2014-12-05 
23:10:16 UTC (rev 12425)
@@ -1966,7 +1966,7 @@
                                        'ColumnDefs'    => $related_def
                                );
                                
-                               //$category['enable_bulk'] = 1;
+                               $category['enable_bulk'] = 1;
                                if($category['enable_bulk'])
                                {
                                        $tabs['inventory']      = array('label' 
=> lang('inventory'), 'link' => '#inventory',  'disable' => 0, 'function' => 
"set_tab('inventory')");
@@ -1995,7 +1995,6 @@
                                }
                        }
                        
-               
                        $property_js = "/property/js/yahoo/property2.js";
 
                        if 
(!isset($GLOBALS['phpgw_info']['server']['no_jscombine']) || 
!$GLOBALS['phpgw_info']['server']['no_jscombine'])
@@ -2978,6 +2977,10 @@
                                'entity_data'   => 
isset($values['p'])?$values['p']:''
                        ));
 
+                       $tabs = array();
+                       $tabs['inventory']      = array('label' => lang('add 
inventory'), 'link' => '#inventory');
+                       $active_tab = 'inventory';
+                       
                        $data = array
                        (
                                'msgbox_data'           => 
$GLOBALS['phpgw']->common->msgbox($msgbox_data),
@@ -2993,6 +2996,7 @@
                                'value_active_from'     => 
$values['active_from'],
                                'value_active_to'       => $values['active_to'],
                                'value_remark'          => $values['remark'],
+                               'tabs'                          => 
phpgwapi_jquery::tabview_generate($tabs, $active_tab)
                        );
 
 




reply via email to

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