changeset 206:47acfb4a97cf

Text from Features in a Side-Info-Box
author fknauft
date Wed, 16 Feb 2011 17:46:48 +0100
parents 4597679ea327
children dd235873514b
files gis_gui/blocks/layer.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/layer.js	Wed Feb 16 17:42:59 2011 +0100
+++ b/gis_gui/blocks/layer.js	Wed Feb 16 17:46:48 2011 +0100
@@ -155,7 +155,7 @@
             function showInContentWindow(text) {
             	var orig_html=$(elem).find(".mapping_info").html();
             	$(elem).find(".mapping_info").html(text);
-            	$(elem).find(".mapping_info").click(function(){$(elem).find(".mapping_info").html(orig_html);});
+            	$(elem).find(".mapping_info").one("click",function(){$(elem).find(".mapping_info").html(orig_html);});
               }
 
             console.debug("new marker layer=",newMarker);