Change of participant selections broken / won't save
- Enable tax-receipting, add a tax account, set the tax to x%
- Setup taxcalculator
- Create an event in Quebec
- Register a contact to that event (front or backend, doesn't matter)
- In the backend: edit the registration and click Change Selections
The Change Registration Selections form is loaded with the following js error:
Uncaught Error: Syntax error, unrecognized expression: #crm-container #
and the form cannot be saved.
Debugging:
var id_input_province = CRM.taxcalculatorGetStateProvinceFieldID();
var prov_field = $('#crm-container #' + id_input_province);
taxcalculatorGetStateProvinceFieldID()
(OR taxcalculatorGetStateProvinceOrCountryFieldID('state_province'))
does not return an id and the next line produces an error
... because there is no province field present in the Change Registration Selections form ?