Francesco Posted October 24, 2011 Posted October 24, 2011 (edited) CauseWPI doesn't remove the category after all its entries are deletedSolutionIn configwizard.js replace configList.splice(cpos,1); with var catname = configList[cpos].cat; configList.splice(cpos,1); var catcount = 0; for (var i=0; i<configList.length && configList[i] != null; i++) if (catname == configList[i].cat) catcount++; if (!catcount) { for (var i=document.getElementById("cboFilter").options.length-1; i>=1; i--) if (document.getElementById("cboFilter").options[i].text == catname) document.getElementById("cboFilter").remove(i); if (CatFilter == catname) { CatFilter = "all"; document.getElementById("cboFilter").value = CatFilter; } } Edited October 24, 2011 by Francesco
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