[bknr-cvs] r2049 - trunk/projects/bos/payment-website/static
bknr at bknr.net
bknr at bknr.net
Sat Nov 4 05:49:55 UTC 2006
Author: hhubner
Date: 2006-11-04 00:49:54 -0500 (Sat, 04 Nov 2006)
New Revision: 2049
Modified:
trunk/projects/bos/payment-website/static/cms.js
Log:
Formularpr?\195?\188fung f?\195?\188r /complete-sale auf neues Verfahren mit Urkunde in Mail angepasst.
Modified: trunk/projects/bos/payment-website/static/cms.js
===================================================================
--- trunk/projects/bos/payment-website/static/cms.js 2006-10-26 04:12:15 UTC (rev 2048)
+++ trunk/projects/bos/payment-website/static/cms.js 2006-11-04 05:49:54 UTC (rev 2049)
@@ -4,7 +4,7 @@
function check_complete_sale() {
- if (document.form.name.value == "") {
+ if (document.form.name && (document.form.name.value == "")) {
alert('Missing name for certificate');
return false;
}
@@ -32,7 +32,7 @@
var send_cert_message;
- if (document.form.postaladdress.value.match(/^\s*$/)) {
+ if (document.form.postaladdress && document.form.postaladdress.value.match(/^\s*$/)) {
send_cert_message = 'No printed certificate will be mailed\n';
} else {
send_cert_message = 'Printed certificate will be mailed to:\n' + document.form.postaladdress.value;
More information about the Bknr-cvs
mailing list