[Mapbender-commits] r2703 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jul 23 05:13:25 EDT 2008
Author: verenadiewald
Date: 2008-07-23 05:13:25 -0400 (Wed, 23 Jul 2008)
New Revision: 2703
Modified:
trunk/mapbender/http/javascripts/popup.js
Log:
unique popup id for every single popup
Modified: trunk/mapbender/http/javascripts/popup.js
===================================================================
--- trunk/mapbender/http/javascripts/popup.js 2008-07-23 09:08:59 UTC (rev 2702)
+++ trunk/mapbender/http/javascripts/popup.js 2008-07-23 09:13:25 UTC (rev 2703)
@@ -46,13 +46,13 @@
//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);
+ this.id="popup"+String(create_pos);
+// this.id="popup"+String(++popup_top);
//Set defaults
defaults = {
More information about the Mapbender_commits
mailing list