fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15457]


From: nelson . guerra
Subject: [Fmsystem-commits] [15457]
Date: Sat, 13 Aug 2016 01:59:13 +0000 (UTC)

Revision: 15457
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15457
Author:   nelson224
Date:     2016-08-13 01:59:13 +0000 (Sat, 13 Aug 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/js/portico/import_components.js

Modified: branches/dev-syncromind-2/property/js/portico/import_components.js
===================================================================
--- branches/dev-syncromind-2/property/js/portico/import_components.js  
2016-08-13 01:58:35 UTC (rev 15456)
+++ branches/dev-syncromind-2/property/js/portico/import_components.js  
2016-08-13 01:59:13 UTC (rev 15457)
@@ -57,7 +57,7 @@
                        $('#tab-content').responsiveTabs('enable', 2);
                        $('#tab-content').responsiveTabs('enable', 3);
                        $('#tab-content').responsiveTabs('activate', 1);
-                       $('#location_name').html(selected.location_code + ' ' + 
selected.loc1_name);
+                       $('.location_name').html(selected.location_code + ' ' + 
selected.loc1_name);
                        $('#location_code').val(selected.location_code);
                        $('#location_item_id').val(selected.id);
         }
@@ -66,7 +66,7 @@
        $('#import_components').on('click', function ()
        {
                var oArgs = {menuaction: 
'property.uiimport_components.import_components'};
-               var requestUrl = phpGWLink('index.php', oArgs);
+               var requestUrl = phpGWLink('index.php', oArgs, true);
                
                if ($('#file_xml').val() === '')
                {
@@ -95,7 +95,7 @@
                        type: 'post',
                        success: function (result)
                        {
-                               alert(result);
+                               JqueryPortico.show_message(0, result);
                        }
                });
        });
@@ -103,7 +103,7 @@
        $('#import_files').on('click', function ()
        {
                var oArgs = {menuaction: 
'property.uiimport_components.import_component_files'};
-               var requestUrl = phpGWLink('index.php', oArgs);
+               var requestUrl = phpGWLink('index.php', oArgs, true);
                
                if ($('#file_excel').val() === '')
                {
@@ -133,7 +133,7 @@
                        type: 'post',
                        success: function (result)
                        {
-                               alert(result);
+                               JqueryPortico.show_message(1, result);
                        }
                });
        });




reply via email to

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