summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/static/saclay/js/interface.js9
-rw-r--r--version.py2
2 files changed, 7 insertions, 4 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);
}
diff --git a/version.py b/version.py
index 1af5e81..c53795f 100644
--- a/version.py
+++ b/version.py
@@ -1,4 +1,4 @@
-VERSION = (3, 1, 22)
+VERSION = (3, 1, 23)
def get_version():