Don't perform name_change when addressee is defined

Create issue
Issue #598 duplicate
Former user created an issue

Suppose I have a chinese customer with last name "Tan" and first name "Tock Seng". For him, the proper way to display his full name is "Tan Tock Seng" and not "Tock Seng Tan". In this case he fills the addressee field with "Tan Tock Seng" and manages to save it. However, when he next goes to the "Update Profile" page, the addressee field changes back to "Tock Seng Tan" because of the "name_change" javascript function.

Attached is a simple workaround in the update_form.html template that disables the name_change javascript function when the page is first loaded and when the addressee value is defined.

Reported by mengkuan

Comments (2)

  1. Log in to comment