[Mapbender-commits] r5360 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 20 04:53:09 EST 2010


Author: christoph
Date: 2010-01-20 04:53:09 -0500 (Wed, 20 Jan 2010)
New Revision: 5360

Modified:
   trunk/mapbender/http/javascripts/mod_navFrame.php
Log:


Modified: trunk/mapbender/http/javascripts/mod_navFrame.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_navFrame.php	2010-01-19 23:07:49 UTC (rev 5359)
+++ trunk/mapbender/http/javascripts/mod_navFrame.php	2010-01-20 09:53:09 UTC (rev 5360)
@@ -32,14 +32,8 @@
 
 ?>
 
+mod_navFrame_ext = typeof mod_navFrame_ext === "undefined" ? 10 : mod_navFrame_ext;
 
-try{
-	if (mod_navFrame_ext){}
-}
-catch(e){
-	mod_navFrame_ext = 10;
-}
-
 <?php
 $html = <<<HTML
 <div id="mbN_$e_id" style="position:absolute;width:0;height:0;top:0;left:0;background-color:$backGroundColor;" >



More information about the Mapbender_commits mailing list