diff options
-rw-r--r-- | chimere/templates/chimere/blocks/live_coordinates.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chimere/templates/chimere/blocks/live_coordinates.html b/chimere/templates/chimere/blocks/live_coordinates.html index 00e75cf..d5b4217 100644 --- a/chimere/templates/chimere/blocks/live_coordinates.html +++ b/chimere/templates/chimere/blocks/live_coordinates.html @@ -33,6 +33,12 @@ <script type="text/javascript"> function init_map_edit(){ + if (!$("#map_edit").length){ // ready not well evaluated... + setTimeout(function(){ + init_map_edit(); + }, 500); + return; + } $('#map_edit').chimere(chimere_init_options); {% if isvalue %} var mylatlon = [{{value_x|stringformat:"f"}}, |