Recently I've gotten a huge number of calls from customers using Macintosh computers who can't change the state dropdown menu, and can't change the expiration date dropdowns during checkout. I've tracked it down to this mod being the possible culprit. Has anyone else been having this issue?
I did modify copynames.js and copybilling.js very slightly to not use the title, as we don't use it in our store:
copynames.js
Code:
function InitSaveVariables_names(form) {
b_firstname = form.b_firstname.value;
b_lastname = form.b_lastname.value;
}
function copynames(form){
if (form.copyn.checked){
InitSaveVariables_names(form);
form.b_firstname.value = form.firstname.value;
form.b_lastname.value = form.lastname.value;
} else {
form.b_firstname.value = b_firstname;
form.b_lastname.value = b_lastname;
}
}
copybilling.js
Code:
function InitSaveVariables_shipping(form) {
s_firstname = form.s_firstname.value;
s_lastname = form.s_lastname.value;
s_address = form.s_address.value;
s_address_2 = form.s_address_2.value;
s_city = form.s_city.value;
s_state = form.s_state.value;
_s_state = document.getElementById('_s_state').value;
s_country = form.s_country.value;
s_zipcode = form.s_zipcode.value;
}
function copybilling(form) {
if (form.copyb.checked){
InitSaveVariables_shipping(form);
form.s_firstname.value = form.firstname.value;
form.s_lastname.value = form.lastname.value;
form.s_address.value = form.b_address.value;
form.s_address_2.value = form.b_address_2.value;
form.s_city.value = form.b_city.value;
change_states(document.getElementById('s_country'), 's_state', 'State/Province', '', '', '', '');
form.s_state.value = form.b_state.value;
document.getElementById('_s_state').value = document.getElementById('_b_state').value;
form.s_country.value = form.b_country.value;
form.s_zipcode.value = form.b_zipcode.value;
} else {
form.s_firstname.value = s_firstname;
form.s_lastname.value = s_lastname;
form.s_address.value = s_address;
form.s_address_2.value = s_address_2;
form.s_city.value = s_city;
change_states(document.getElementById('s_country'), 's_state', 'State/Province', '', '', '', '');
form.s_state.value = s_state;
document.getElementById('_s_state').value = _s_state;
form.s_country.value = s_country;
form.s_zipcode.value = s_zipcode;
}
}
I'm pretty sure that's not the issue, though. Anybody see anything in here that could cause a Mac to choke? I know nothing about Macs unfortunately, and have no way of testing either.
Any help would be appreciated. Thanks!!