summaryrefslogtreecommitdiff
path: root/chimere/templates/upload_file.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/upload_file.html')
-rw-r--r--chimere/templates/upload_file.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/chimere/templates/upload_file.html b/chimere/templates/upload_file.html
index 21a964a..a4288da 100644
--- a/chimere/templates/upload_file.html
+++ b/chimere/templates/upload_file.html
@@ -26,7 +26,11 @@
var main_page = opener.document;
jQuery(main_page).find("#id_route").val(data.wkt);
jQuery(main_page).find("#id_associated_file_id").val(data.file_id);
+ jQuery(main_page).find("#draw-or").hide();
+ jQuery(main_page).find("#draw-toggle-off").hide();
+ jQuery(main_page).find("#upload").hide();
opener.initFeatureFromWkt(data.wkt);
+ opener.toggleDrawOn();
opener.focus();
self.close();
});