summaryrefslogtreecommitdiff
path: root/chimere/static/saclay/js/interface.js
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static/saclay/js/interface.js')
-rw-r--r--chimere/static/saclay/js/interface.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/chimere/static/saclay/js/interface.js b/chimere/static/saclay/js/interface.js
index a86d29d..413a50b 100644
--- a/chimere/static/saclay/js/interface.js
+++ b/chimere/static/saclay/js/interface.js
@@ -304,9 +304,12 @@ var init_map_edit;
var map_edit_init = function(){
// ol3 must be initialized after modal opening
if (init_map_edit){
- init_map_edit();
- $('#map_edit').chimere('refresh');
- $("#modal-edit").modal('handleUpdate');
+ setTimeout(
+ function(){
+ init_map_edit();
+ $('#map_edit').chimere('refresh');
+ $("#modal-edit").modal('handleUpdate');
+ }, 500);
} else {
setTimeout(map_edit_init, 500);
}