[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15592]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [15592] |
Date: |
Tue, 6 Sep 2016 01:27:14 +0000 (UTC) |
Revision: 15592
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15592
Author: nelson224
Date: 2016-09-06 01:27:14 +0000 (Tue, 06 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-05 23:23:57 UTC (rev 15591)
+++ branches/dev-syncromind-2/property/js/portico/import_components.js
2016-09-06 01:27:14 UTC (rev 15592)
@@ -68,7 +68,7 @@
var oArgs = {menuaction:
'property.uiimport_components.import_component_files'};
var requestUrl = phpGWLink('index.php', oArgs, true);
- if ($('#file_xml').val() === '')
+ if ($('#excel_files').val() === '')
{
alert('no file selected');
return false;
@@ -218,6 +218,7 @@
data['columns'] = {};
data['attrib_names'] = {};
data['attrib_data_types'] = {};
+ data['attrib_precision'] = {};
var columns = $('.columns');
@@ -230,6 +231,7 @@
{
data['attrib_names'][code[1]] =
$('#name_' + code[1]).val();
data['attrib_data_types'][code[1]] =
$('#data_type_' + code[1]).val();
+ data['attrib_precision'][code[1]] =
$('#precision_' + code[1]).val();
}
data['columns'][code[1]] = obj.value;
}
@@ -254,11 +256,14 @@
{
$('#data_type_'+ column).prop('disabled', false);
$('#name_'+ column).prop('disabled', false);
+ $('#precision_'+ column).prop('disabled', false);
} else {
$('#data_type_'+ column).prop('disabled', true);
$('#name_'+ column).prop('disabled', true);
+ $('#precision_'+ column).prop('disabled', true);
$('#data_type_'+ column).prop('selectedIndex', 0);
$('#name_'+ column).val('');
+ $('#precision_'+ column).val('');
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15592],
nelson . guerra <=