[Mapbender-commits] r10391 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 27 00:30:31 PST 2020


Author: hollsandre
Date: 2020-01-27 00:30:31 -0800 (Mon, 27 Jan 2020)
New Revision: 10391

Modified:
   trunk/mapbender/http/javascripts/mod_savewmc.js
Log:
added "," to keyword regex and description


Modified: trunk/mapbender/http/javascripts/mod_savewmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_savewmc.js	2020-01-22 14:54:04 UTC (rev 10390)
+++ trunk/mapbender/http/javascripts/mod_savewmc.js	2020-01-27 08:30:31 UTC (rev 10391)
@@ -380,8 +380,8 @@
 
 
 			if(attributes.keywords != ""){
-				if(!attributes.keywords.match(/^[a-zA-Z0-9äöüÄÖÜß_\- \"]+$/)){
-                               		alert("Allowed characters for keywords are: A-Z, a-z, 0-9, -, _, äA, öO, üU, ß, \"");
+				if(!attributes.keywords.match(/^[a-zA-Z0-9äöüÄÖÜß_\-, \"]+$/)){
+                               		alert("Allowed characters for keywords are: A-Z, a-z, 0-9, -, _,, äA, öO, üU, ß, \"");
                                		return;
 				}
 			}



More information about the Mapbender_commits mailing list