[Mapbender-commits] r9322 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Nov 27 02:12:31 PST 2015


Author: verenadiewald
Date: 2015-11-27 02:12:31 -0800 (Fri, 27 Nov 2015)
New Revision: 9322

Modified:
   trunk/mapbender/http/plugins/mb_metadata_wmcPreview.php
Log:
changed Ajax response messages for case of successful save of preview and preview  with missing services (count problemUrls > 0)

Modified: trunk/mapbender/http/plugins/mb_metadata_wmcPreview.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_wmcPreview.php	2015-11-27 09:57:12 UTC (rev 9321)
+++ trunk/mapbender/http/plugins/mb_metadata_wmcPreview.php	2015-11-27 10:12:31 UTC (rev 9322)
@@ -46,11 +46,11 @@
 		else {
 			if (count($problemUrls) > 0) {
 				$ajaxResponse->setSuccess(true);
-				$ajaxResponse->setMessage(_mb('Preview saved'));
+				$ajaxResponse->setMessage(_mb('Preview saved - but following service urls are not included cause the firewall prevent this!').": ".$listOfProblemUrls);
 				$ajaxResponse->send();
 			} else {
 				$ajaxResponse->setSuccess(true);
-				$ajaxResponse->setMessage(_mb('Preview saved - but following service urls are not included cause the firewall prevent this!').": ".$listOfProblemUrls);
+				$ajaxResponse->setMessage(_mb('Preview saved'));
 				$ajaxResponse->send();
 			}
 		}



More information about the Mapbender_commits mailing list