[Mapbender-commits] r1852 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Nov 26 08:11:07 EST 2007
Author: nimix
Date: 2007-11-26 08:11:07 -0500 (Mon, 26 Nov 2007)
New Revision: 1852
Modified:
trunk/mapbender/http/javascripts/popup.js
Log:
move fix for multiple open popups
Modified: trunk/mapbender/http/javascripts/popup.js
===================================================================
--- trunk/mapbender/http/javascripts/popup.js 2007-11-26 12:52:15 UTC (rev 1851)
+++ trunk/mapbender/http/javascripts/popup.js 2007-11-26 13:11:07 UTC (rev 1852)
@@ -184,9 +184,9 @@
//create window
document.body.appendChild(div);
- $(div.firstChild).mousedown(function(){createCatcher();});
+ $(div.firstChild).mousedown(function(){this.parentNode.style.zIndex=popup_top++;createCatcher();});
$(div.firstChild).mouseup(function(){removeCatcher();});
- $(div.lastChild).mousedown(function(){createCatcher();});
+ $(div.lastChild).mousedown(function(){this.parentNode.style.zIndex=popup_top++;createCatcher();});
$(div.lastChild).mouseup(function(){removeCatcher();});
$("#"+this.id, document).jqDrag('.jqDrag').jqResize('.jqResize').jqm({
More information about the Mapbender_commits
mailing list