Francesco Posted August 13, 2012 Share 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; } } } } Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 13, 2012 Share Posted August 13, 2012 Got it. Link to comment Share on other sites More sharing options...
Francesco Posted August 14, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 14, 2012 Share Posted August 14, 2012 got it 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