[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15981]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [15981] |
Date: |
Thu, 10 Nov 2016 02:11:45 +0000 (UTC) |
Revision: 15981
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15981
Author: nelson224
Date: 2016-11-10 02:11:44 +0000 (Thu, 10 Nov 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-11-10 02:11:08 UTC (rev 15980)
+++ branches/dev-syncromind-2/property/js/portico/import_components.js
2016-11-10 02:11:44 UTC (rev 15981)
@@ -94,49 +94,6 @@
);
});
- $('#import_compressed_file').on('click', function ()
- {
- var oArgs = {menuaction:
'property.uiimport_components.import_compressed_file'};
- var requestUrl = phpGWLink('index.php', oArgs, true);
-
-
- if ($('#compressed_file').val() == '')
- {
- alert('Choose file');
- return false;
- }
-
- if (isSendingData())
- {
- return false;
- }
-
- var form = document.forms.namedItem("form_compressed_file");
- var form_data = new FormData(form);
-
- var file_data = $('#compressed_file').prop('files')[0];
- form_data.append('compressed_file', file_data);
-
- $('.processing-import-relations').show();
-
- $.ajax({
- url: requestUrl,
- cache: false,
- contentType: false,
- processData: false,
- data: form_data,
- type: 'post',
- dataType: 'json',
- success: function (result)
- {
- statusSend = false;
- $('.processing-import-relations').hide();
- JqueryPortico.show_message(4, result);
-
//$('#import_components_files').prop('disabled', true);
- }
- });
- });
-
$('#import_components_files').on('click', function ()
{
var oArgs = {menuaction:
'property.uiimport_components.import_component_files'};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15981],
nelson . guerra <=