1

On the following page:

Customers -> Manage Customers -> Click on a customer -> Addresses

If there are 2 or more addresses, you can click on an address and the address appears in the "Edit Customer's Address" box.

I can tell this is done in JavaScript, but which file contains the code for this?

asked Feb 18, 2015 at 18:44

1 Answer 1

2

It is not a single JS file, but in the template file itself:

app/design/adminhtml/default/default/template/customer/tab/addresses.phtml

Have a look at the function setActiveItem and the calls of this function.

answered Feb 18, 2015 at 18:54

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.