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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 30 06:00:16 EST 2008


Author: verenadiewald
Date: 2008-01-30 06:00:16 -0500 (Wed, 30 Jan 2008)
New Revision: 2042

Modified:
   branches/2.5/http/javascripts/wfs.js
Log:
set try{} catch() syntax for requested vars from conf file and element vars

Modified: branches/2.5/http/javascripts/wfs.js
===================================================================
--- branches/2.5/http/javascripts/wfs.js	2008-01-30 10:30:48 UTC (rev 2041)
+++ branches/2.5/http/javascripts/wfs.js	2008-01-30 11:00:16 UTC (rev 2042)
@@ -50,6 +50,10 @@
 
 var highlight;
 
+try {if(generalHighlightZIndex){}}catch(e) {generalHighlightZIndex = 90;}
+try {if(generalHighlightLineWidth){}}catch(e) {generalHighlightLineWidth = 2;}
+try {if(useUsemap){}}catch(e) {useUsemap = 0;}
+
 mb_registerInitFunctions('initHighlight()');
 
 function initHighlight() {



More information about the Mapbender_commits mailing list