You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/04/15 12:22:33 UTC

svn commit: r161432 - lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml

Author: michi
Date: Fri Apr 15 03:22:30 2005
New Revision: 161432

URL: http://svn.apache.org/viewcvs?view=rev&rev=161432
Log:
thanks to Olivier Lustenberger the Javascript error within Firefox should be gone

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml?view=diff&r1=161431&r2=161432
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/resources/javascript/validation.xml Fri Apr 15 03:22:30 2005
@@ -46,7 +46,7 @@
 	
 	if (formField.value == "")
 	{
-		alert('<i18n:text key="failmessage.createdoc.required"/>');
+		alert("<i18n:text key="failmessage.createdoc.required"/>");
 		formField.focus();
 		result = false;
 	}
@@ -60,7 +60,7 @@
 	
 	if (formField.value.match("[^a-zA-Z0-9\\-]+"))
 	{
-		alert('<i18n:text key="failmessage.createdoc.invalidformat"/>');
+		alert("<i18n:text key="failmessage.createdoc.invalidformat"/>");
 		formField.focus();
 		result = false;
 	}
@@ -77,4 +77,4 @@
     obj.value = "0";
   }
 }
-</script>
\ No newline at end of file
+</script>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org