Francesco Posted August 13, 2012 Posted August 13, 2012 FixIn check.js replace if (state) { for (i=1; cat[i] != null; i++) { if (cat[i]==thisCat) { if (!isChecked(i)) { allChked=false; break; } } } }with if (state) { for (i=1; cat[i] != null; i++) { if (cat[i]==thisCat && document.getElementById("chkbox"+i) != null) { if (!isChecked(i)) { allChked=false; break; } } } }
Francesco Posted August 14, 2012 Author Posted August 14, 2012 There's also else //If program checkbox was checked { if (!prog[thisChk]) return; //Ensure checkbox exists thisCat=cat[thisChk].toString(); }to replace with else //If program checkbox was checked { if (!prog[thisChk] || document.getElementById("chkbox"+thisChk) == null) return; //Ensure checkbox exists thisCat=cat[thisChk].toString(); }or the categories wouldn't be checked at startup
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