diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-11 11:37:03 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-02-11 11:37:03 +0100 |
| commit | c70c2c8f4f58436df8d1c694a74c457954bd1070 (patch) | |
| tree | e521bfdf3e7377954d2cfd7a1647106d74a402e1 /chimere/static | |
| parent | 3c779a01f8320bb833ed95eb871c20e988a4b026 (diff) | |
| download | Chimère-c70c2c8f4f58436df8d1c694a74c457954bd1070.tar.bz2 Chimère-c70c2c8f4f58436df8d1c694a74c457954bd1070.zip | |
Manage XML-XSLT import
Diffstat (limited to 'chimere/static')
| -rw-r--r-- | chimere/static/chimere/js/importer_interface.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chimere/static/chimere/js/importer_interface.js b/chimere/static/chimere/js/importer_interface.js index e15aacd..2872e12 100644 --- a/chimere/static/chimere/js/importer_interface.js +++ b/chimere/static/chimere/js/importer_interface.js @@ -24,6 +24,12 @@ django.jQuery(function($) { 'field-origin', 'field-srid', 'field-license', 'field-categories', 'field-overwrite', 'field-get_description', 'field-default_localisation', + 'field-automatic_update'), + XXLT:new Array('field-source', 'field-source_file', + 'field-source_file_alt', 'field-default_name', + 'field-origin', 'field-srid', 'field-license', + 'field-categories', 'field-overwrite', + 'field-get_description', 'field-default_localisation', 'field-automatic_update') } var osm_map_initialized; @@ -55,7 +61,7 @@ django.jQuery(function($) { osm_map_initialized = true; } } - else if (importer_val == 'XSLT'){ + else if (importer_val == 'XSLT' || importer_val == 'XXLT'){ $('.form-row.field-filtr').addClass('field-map'); $('#map_edit').show(); if (!edit_map_initialized){ |
