From 893054de5c4c436af2b2c4b486366eecc923d198 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 31 May 2015 16:00:11 +0200 Subject: JS: fix reinitialization of clustering after dialog closing --- chimere/static/chimere/js/jquery.chimere.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js index c9f02af..524767b 100644 --- a/chimere/static/chimere/js/jquery.chimere.js +++ b/chimere/static/chimere/js/jquery.chimere.js @@ -43,7 +43,6 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, { else return v; }; })( jQuery ); - (function ($) { /* * Chimere jQuery plugin @@ -547,6 +546,7 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, { content += ""; $('#cluster_list').html(content); $('#cluster_list').dialog('open'); + $("#cluster_list").on("dialogclose", methods.cleanCluster); settings.map.setCenter( feature.geometry.getBounds().getCenterLonLat()); // register after the display -- cgit v1.2.3