fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10146] Logistic: Changes to edit metod


From: Torstein
Subject: [Fmsystem-commits] [10146] Logistic: Changes to edit metod
Date: Mon, 08 Oct 2012 11:45:23 +0000

Revision: 10146
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10146
Author:   vator
Date:     2012-10-08 11:45:18 +0000 (Mon, 08 Oct 2012)
Log Message:
-----------
Logistic: Changes to edit metod

Modified Paths:
--------------
    trunk/logistic/inc/class.uirequirement.inc.php

Modified: trunk/logistic/inc/class.uirequirement.inc.php
===================================================================
--- trunk/logistic/inc/class.uirequirement.inc.php      2012-10-08 11:02:24 UTC 
(rev 10145)
+++ trunk/logistic/inc/class.uirequirement.inc.php      2012-10-08 11:45:18 UTC 
(rev 10146)
@@ -311,10 +311,13 @@
                        else
                        {
                                $accounts = 
$GLOBALS['phpgw']->acl->get_user_list_right(PHPGW_ACL_READ, 'run', 'logistic');
-                               
+
+                               $entity_list = 
execMethod('property.soadmin_entity.read', array('allrows' => true));
+               
                                $data = array
                                (
                                        'editable' => true,
+                                       'entity_list' => $entity_list
                                );
                                
                                if($activity_id > 0)
@@ -325,7 +328,7 @@
                                
$GLOBALS['phpgw']->jqcal->add_listener('start_date');
                                
$GLOBALS['phpgw']->jqcal->add_listener('end_date');
 
-                               self::add_javascript('logistic', 'logistic', 
'ajax.js');
+                               self::add_javascript('logistic', 'logistic', 
'bim_type_requirement.js');
                                
self::render_template_xsl(array('requirement/requirement'), $data);
                        }
                }




reply via email to

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