Tom1884 Posted November 14, 2017 Share Posted November 14, 2017 (edited) Ps 1.6.1.13, not default theme. Adding a new address, the "State/Nation" dropdown menu doesn't work and it appears two time in the form. I can open and choose a different country, but it doesn't update the visualization. Seems to be a javascript error with theme/js/tools/statesManagement.js (attached): Quote Uncaught ReferenceError: countriesNeedIDNumber is not defined at updateNeedIDNumber (statesManagement.js:54) at bindStateInputAndUpdate (statesManagement.js:30) at HTMLDocument.<anonymous> (statesManagement.js:3) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at Function.ready (jquery-1.11.0.min.js:2) at HTMLDocument.K (jquery-1.11.0.min.js:2) These are the lines including 54 : function updateNeedIDNumber(suffix) { var idCountry = parseInt($('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()); if ($.inArray(idCountry, countriesNeedIDNumber) >= 0) $('.dni'+(suffix !== undefined ? '_'+suffix : '')).slideDown('slow'); else $('.dni'+(suffix !== undefined ? '_'+suffix : '')).slideUp('fast'); } Tried this, didn't work. Tried to keep only one language, nope. I suppose the “doubled” menu could be the point. What can I do?? No ideas! Tnx you... statesManagement.js Edited November 15, 2017 by Tom1884 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now