diff --git a/src/sideshow/web/templates/orders/create.mako b/src/sideshow/web/templates/orders/create.mako index 72345b5..7ed78db 100644 --- a/src/sideshow/web/templates/orders/create.mako +++ b/src/sideshow/web/templates/orders/create.mako @@ -836,11 +836,11 @@ orderEmailAddress: ${json.dumps(email_address)|n}, refreshingCustomer: false, - newCustomerFullName: ${json.dumps(new_customer_full_name)|n}, - newCustomerFirstName: ${json.dumps(new_customer_first_name)|n}, - newCustomerLastName: ${json.dumps(new_customer_last_name)|n}, - newCustomerPhone: ${json.dumps(new_customer_phone)|n}, - newCustomerEmail: ${json.dumps(new_customer_email)|n}, + newCustomerFullName: ${json.dumps(new_customer_full_name or None)|n}, + newCustomerFirstName: ${json.dumps(new_customer_first_name or None)|n}, + newCustomerLastName: ${json.dumps(new_customer_last_name or None)|n}, + newCustomerPhone: ${json.dumps(new_customer_phone or None)|n}, + newCustomerEmail: ${json.dumps(new_customer_email or None)|n}, editNewCustomerShowDialog: false, editNewCustomerFirstName: null,