Closed (fixed)
Project:
Ubercart
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2008 at 09:49 UTC
Updated:
17 Oct 2008 at 14:42 UTC
Problem in uc_taxes.js when I disable street address 2 (at admin/store/settings/checkout/edit/fields), I get an undefined error for s_street2.length.
Quick fix:
1/ use String(s_street2).length instead of s_street2.length
2/ change var s_street2 = $("input[@name*=delivery_street2]").val(); to
var s_street2 = $("input[@name*=delivery_street2]").val();
if (!s_street2) {
s_street2 = '';
}
Comments
Comment #1
Island Usurper commentedI'm sure that happens for all of the other address fields, too. Fixed for the next release.
Comment #2
cyu commentedLooking at the latest bazaar code it looks like the following should be added....
for checkouts with the customer information pane disabled.
Comment #3
Island Usurper commentedThanks.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.