[Mapbender-commits] r7304 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Dec 13 02:57:10 EST 2010


Author: kmq
Date: 2010-12-12 23:57:10 -0800 (Sun, 12 Dec 2010)
New Revision: 7304

Modified:
   trunk/mapbender/http/php/mod_editElements.php
Log:
fix for canceling duplicating elements

Modified: trunk/mapbender/http/php/mod_editElements.php
===================================================================
--- trunk/mapbender/http/php/mod_editElements.php	2010-12-13 07:32:33 UTC (rev 7303)
+++ trunk/mapbender/http/php/mod_editElements.php	2010-12-13 07:57:10 UTC (rev 7304)
@@ -432,6 +432,7 @@
 
 function thisDuplicate(){
 	var newName = prompt("Enter new name: ");
+	if(newName === null){ return; }
 	document.form1.e_id_.value = newName; 
 	document.form1.myDuplicate.value = 1;
 	document.form1.submit();



More information about the Mapbender_commits mailing list