Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.6.0
-
Component/s: Client Interface
-
Labels:None
Description
The following JavaScript error can be encountered after attempting to create a client account from the "Registration" form @ /order/main/packages/...:
TypeError: $(...).attr(...) is undefined for
if ($("#package_config").attr('action').indexOf("?") >= 0)
from /plugins/order/views/templates/ajax/javascript/order.js
This can occur if the following criteria is met:
1. The order form supports more currencies than the selected package has pricing defined in
2. The currency setting "Use Package Pricing for New Services Only" is checked
The JavaScript '$("#package_config").attr(....)' is undefined because the HTML for id="package_config" was not loaded via AJAX due to the missing pricing.