fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15706]


From: nelson . guerra
Subject: [Fmsystem-commits] [15706]
Date: Wed, 21 Sep 2016 02:28:43 +0000 (UTC)

Revision: 15706
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15706
Author:   nelson224
Date:     2016-09-21 02:28:43 +0000 (Wed, 21 Sep 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-09-21 00:23:30 UTC (rev 15705)
+++ branches/dev-syncromind-2/property/js/portico/import_components.js  
2016-09-21 02:28:43 UTC (rev 15706)
@@ -273,7 +273,7 @@
 
                var columns = $('.columns');
                var column_building_part = false;
-               var column_category_name = false;
+               var column_name_building_part = false;
                var column_component_id = false;
                var new_column_attributes = true;
                
@@ -304,9 +304,9 @@
                                {
                                        column_building_part = true;
                                }
-                               if (obj.value === 'category_name')
+                               if (obj.value === 'name_building_part')
                                {
-                                       column_category_name = true;
+                                       column_name_building_part = true;
                                }
                                if (obj.value === 'component_id')
                                {
@@ -323,17 +323,17 @@
                }
                if (!column_building_part)
                {
-                       alert('Select a Building part column');
+                       alert('Select Building part');
                        return;
                }
-               if (!column_category_name)
+               if (!column_name_building_part)
                {
-                       alert('Select a Category name column');
+                       alert('Select Name of the Building part');
                        return;
                }
                if (!column_component_id)
                {
-                       alert('Select a Component ID column');
+                       alert('Select Component ID');
                        return;
                }
                
@@ -382,6 +382,7 @@
                        "step": 5,
                        'save': 1,
                        'template_id': $('#template_list').val(),
+                       'component_id': $('#component_id').val(),
                        'location_code': $('#location_code').val(),
                        'location_item_id': $('#location_item_id').val()
                };




reply via email to

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