[Mapbender-commits] r7617 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 17 01:47:06 EST 2011
Author: marc
Date: 2011-02-16 22:47:06 -0800 (Wed, 16 Feb 2011)
New Revision: 7617
Modified:
trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
#776
Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php 2011-02-16 20:43:15 UTC (rev 7616)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php 2011-02-17 06:47:06 UTC (rev 7617)
@@ -419,6 +419,11 @@
state[wms]=1;
if(showstatus=='true')
setNodeImage(img);
+ //Removes the previous Maprequest image from dom
+ var prevlastRequestDiv = $("#"+mod_treeGDE_map+"_maps > div:last").prev().attr("id");
+ var prevWmsgid=prevlastRequestDiv+"_map_"+wms;
+ var $prevWmsgid=$("#"+prevWmsgid);
+ $prevWmsgid.remove();
break;
}
}
More information about the Mapbender_commits
mailing list