Francesco Posted August 2, 2012 Share Posted August 2, 2012 (edited) FixIn check.js replacefunction parentsAreChecked(i){ position="check.js"; whatfunc="parentsAreChecked()"; var j, elem; for (j=0; deps[i] && j<deps[i].length; j++) //run through all dependencies of prog[i] { //find parent's checkbox try { elem=eval("document.all." +deps[i][j]); } catch(ex) { return false; } if (elem != null) { if (!elem.checked || elem.disabled) return false; } } return true;}function parentsAreEnabled(i){ position="check.js"; whatfunc="parentsAreEnabled()"; var j, elem; for (j=0; deps[i] && j<deps[i].length; j++) //run through all dependencies of prog[i] { //find parent's checkbox try { elem=eval("document.all." +deps[i][j]); } catch(ex) { return false; } if (elem.disabled) return false; } return true;}with function parentsAreChecked(i){ position="check.js"; whatfunc="parentsAreChecked()"; for (var j=0; deps[i] && j<deps[i].length; j++) //run through all dependencies of prog[i] { var itemIndex=findProgByUID(deps[i][j]); if (itemIndex>0) { var itemCheckbox = document.getElementById("chkbox"+itemIndex); if (!itemCheckbox.checked || itemCheckbox.disabled) return false; } } return true;}function parentsAreEnabled(i){ position="check.js"; whatfunc="parentsAreEnabled()"; var j, elem; for (j=0; deps[i] && j<deps[i].length; j++) //run through all dependencies of prog[i] { var itemIndex=findProgByUID(deps[i][j]); if (itemIndex>0 && document.getElementById("chkbox"+itemIndex).disabled) return false; } return true;} Edited August 2, 2012 by Francesco Link to comment Share on other sites More sharing options...
ricktendo Posted August 2, 2012 Share Posted August 2, 2012 FIXED!!! Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 4, 2012 Share Posted August 4, 2012 added. Link to comment Share on other sites More sharing options...
ricktendo Posted August 5, 2012 Share Posted August 5, 2012 (edited) added.Sorry Kel but bug still present in 8.5.2 (don't think you added it correctly Edited August 5, 2012 by ricktendo64 Link to comment Share on other sites More sharing options...
myselfidem Posted August 5, 2012 Share Posted August 5, 2012 (edited) You can update WPI v8.5.2 to get the new release WPI v8.5.3.Regards Edited August 8, 2012 by myselfidem Link to comment Share on other sites More sharing options...
ricktendo Posted August 5, 2012 Share Posted August 5, 2012 (edited) My bad, was manually updating did not realize I could use the Auto Update function Edited August 5, 2012 by ricktendo64 Link to comment Share on other sites More sharing options...
Recommended Posts