[Mapbender-commits] r2702 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 23 05:08:59 EDT 2008


Author: verenadiewald
Date: 2008-07-23 05:08:59 -0400 (Wed, 23 Jul 2008)
New Revision: 2702

Modified:
   branches/2.5/http/javascripts/popup.js
Log:
unique popup id for every single popup 

Modified: branches/2.5/http/javascripts/popup.js
===================================================================
--- branches/2.5/http/javascripts/popup.js	2008-07-23 08:54:12 UTC (rev 2701)
+++ branches/2.5/http/javascripts/popup.js	2008-07-23 09:08:59 UTC (rev 2702)
@@ -46,10 +46,10 @@
 	//get first free place
 	var create_pos=popup_count;
 	for(var i = 0; i < popup_count;i++)
-		if(!document.getElementById("popup"+String(i))){
-			create_pos=i;
-			break;
-		}
+//		if(!document.getElementById("popup"+String(i))){
+//			create_pos=i;
+//			break;
+//		}
 
 	this.id="popup"+String(create_pos);
 //	this.id="popup"+String(popup_top);



More information about the Mapbender_commits mailing list