svn commit: r328 - trunk/mapbender/http/php/mod_newGui.php
uli at osgeo.org
uli at osgeo.org
Mon May 22 06:11:48 EDT 2006
Author: uli
Date: 2006-05-22 10:11:47+0000
New Revision: 328
Modified:
trunk/mapbender/http/php/mod_newGui.php
Log:
gui-description is mendatory
Modified: trunk/mapbender/http/php/mod_newGui.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_newGui.php?view=diff&rev=328&p1=trunk/mapbender/http/php/mod_newGui.php&p2=trunk/mapbender/http/php/mod_newGui.php&r1=327&r2=328
==============================================================================
--- trunk/mapbender/http/php/mod_newGui.php (original)
+++ trunk/mapbender/http/php/mod_newGui.php 2006-05-22 10:11:47+0000
@@ -76,6 +76,11 @@
document.form1.newGui.focus();
return;
}
+ else if(document.form1.newDesc.value == ""){
+ alert("Please enter a GUI-Description!");
+ document.form1.newDesc.focus();
+ return;
+ }
else{
document.form1.submit();
}
More information about the Mapbender_commits
mailing list