fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15844]


From: nelson . guerra
Subject: [Fmsystem-commits] [15844]
Date: Tue, 18 Oct 2016 02:29:04 +0000 (UTC)

Revision: 15844
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15844
Author:   nelson224
Date:     2016-10-18 02:29:04 +0000 (Tue, 18 Oct 2016)
Log Message:
-----------


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

Modified: 
branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-10-18 02:28:23 UTC (rev 15843)
+++ branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-10-18 02:29:04 UTC (rev 15844)
@@ -821,7 +821,7 @@
                                }
                        }
                
-                       $form_upload_action = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'property.uiimport_components.handle_import_files'));
+                       $multi_upload_action = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'property.uiimport_components.handle_import_files'));
                        
                        $access_error_upload_dir = '';
                        $import_component_files = new import_component_files();
@@ -832,6 +832,7 @@
                        } else {
                                phpgwapi_cache::session_set('property', 
'path_upload_dir', $import_component_files->get_path_upload_dir());
                        }
+                       phpgwapi_jquery::init_multi_upload_file();
                        
                        $data = array
                        (
@@ -844,7 +845,7 @@
                                'part_of_town_filter' => array('options' => 
$part_of_town_filter),
                                'template_list' => array('options' => 
$category_list),
                                'profile_list' => array('options' => 
$profile_list),
-                               'form_file_upload' => 
phpgwapi_jquery::form_file_upload_generate($form_upload_action),
+                               'multi_upload_action' => $multi_upload_action,
                                'access_error_upload_dir' => 
$access_error_upload_dir,
                                'image_loader' => 
$GLOBALS['phpgw']->common->image('property', 'ajax-loader', '.gif', false)
                        );
@@ -852,7 +853,7 @@
                        self::add_javascript('property', 'portico', 
'import_components.js');
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('property') . '::' . lang('Importer ');
 
-                       self::render_template_xsl(array('import_components', 
'datatable_inline'), $data);
+                       self::render_template_xsl(array('import_components', 
'multi_upload_file', 'datatable_inline'), $data);
                }
 
                public function get_attributes_from_template()




reply via email to

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