fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16174]


From: nelson . guerra
Subject: [Fmsystem-commits] [16174]
Date: Fri, 20 Jan 2017 17:08:30 -0500 (EST)

Revision: 16174
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16174
Author:   nelson224
Date:     2017-01-20 17:08:29 -0500 (Fri, 20 Jan 2017)
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  
2017-01-20 22:08:14 UTC (rev 16173)
+++ branches/dev-syncromind-2/property/js/portico/import_components.js  
2017-01-20 22:08:29 UTC (rev 16174)
@@ -102,6 +102,12 @@
                        return false;
                }       
                
+               if ($('#attribute_name_component_id').val() === '')
+               {
+                       alert('Choose attribute name for Component ID');
+                       return false;
+               }
+               
                if ($('input:radio[name=compressed_file_check]:checked').val() 
== 1 && $('#compressed_file_name').val() == '')
                {
                        alert('Enter the name of the compressed file');
@@ -126,7 +132,7 @@
                {
                        return false;
                }
-               //form_data.append('attribute_name_component_id', 
$('#attribute_name_component_id').val());
+               form_data.append('attribute_name_component_id', 
$('#attribute_name_component_id').val());
                form_data.append('location_code', $('#location_code').val());
                form_data.append('location_item_id', 
$('#location_item_id').val());
                form_data.append('compressed_file_check', 
$('input:radio[name=compressed_file_check]:checked').val());




reply via email to

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