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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 19 08:38:13 EST 2009


Author: christoph
Date: 2009-02-19 08:38:12 -0500 (Thu, 19 Feb 2009)
New Revision: 3578

Modified:
   branches/2.5/http/javascripts/map.js
Log:
http://trac.osgeo.org/mapbender/ticket/385

Modified: branches/2.5/http/javascripts/map.js
===================================================================
--- branches/2.5/http/javascripts/map.js	2009-02-18 17:41:07 UTC (rev 3577)
+++ branches/2.5/http/javascripts/map.js	2009-02-19 13:38:12 UTC (rev 3578)
@@ -1722,7 +1722,7 @@
 	var isValidLevel = function(aLevel) {
 		var isNotOff = typeof(log_js) != 'undefined' && log_js != "off";
 		var levelIndex = indexOfLevel(aLevel);
-		var isAppropriate = (typeof(levelIndex)=='number' && levelIndex < indexOfLevel(log_level));
+		var isAppropriate = (typeof(levelIndex)=='number' && levelIndex <= indexOfLevel(log_level));
 		return (isNotOff && isAppropriate);
 	};
 	this.throwException = function (message, level) {



More information about the Mapbender_commits mailing list