[Mapbender-commits] r6090 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu May 6 09:32:48 EDT 2010


Author: christoph
Date: 2010-05-06 09:32:46 -0400 (Thu, 06 May 2010)
New Revision: 6090

Modified:
   trunk/mapbender/lib/ajax.js
Log:
setting success to false will no longer cause an internal error.

Internal errors now require a designated error code.

Modified: trunk/mapbender/lib/ajax.js
===================================================================
--- trunk/mapbender/lib/ajax.js	2010-05-06 13:31:58 UTC (rev 6089)
+++ trunk/mapbender/lib/ajax.js	2010-05-06 13:32:46 UTC (rev 6090)
@@ -212,7 +212,7 @@
 				message = Mapbender.Ajax.Messages.fatalError;
 			}
 			if (resultObj.error.code == -1) {
-				internalError = true;
+//				internalError = true;
 			}
 			else if (resultObj.error.code == -2) {
 				sessionExpired = true;



More information about the Mapbender_commits mailing list