[Mapbender-commits] r3579 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 19 08:38:42 EST 2009
Author: christoph
Date: 2009-02-19 08:38:41 -0500 (Thu, 19 Feb 2009)
New Revision: 3579
Modified:
trunk/mapbender/lib/exception.js
Log:
http://trac.osgeo.org/mapbender/ticket/385
Modified: trunk/mapbender/lib/exception.js
===================================================================
--- trunk/mapbender/lib/exception.js 2009-02-19 13:38:12 UTC (rev 3578)
+++ trunk/mapbender/lib/exception.js 2009-02-19 13:38:41 UTC (rev 3579)
@@ -34,7 +34,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