d147153dbb70eb9018b248543b6f39dde939076a tdreszer Fri Oct 7 16:52:46 2011 -0700 Another set of fixes propted by going through all of hg19 again and another 7 assemblies from different species and clades. diff --git src/hg/js/hui.js src/hg/js/hui.js index 6edfb15..ebd35cb 100644 --- src/hg/js/hui.js +++ src/hg/js/hui.js @@ -321,31 +321,31 @@ if (isFauxDisabled(subCB,true)) shadowState -= 2; var fourWay = normed($("input.cbShadow[name='boolshad\\."+subCB.name+"']")); if (fourWay == undefined && subCB.name != undefined) { fourWay = normed($("input.cbShadow#boolshad_-"+subCB.id)); // subCfg noname version specific if (fourWay == undefined) fourWay = normed($("#"+subCB.name+"_4way")); // FIXME: obsolete as soon as subCfg is working } if (fourWay == undefined) { warn("DEBUG: Failed to find fourWay shadow for '#"+subCB.id+"' ["+subCB.name+"]"); return; } if ($(fourWay).val() != shadowState.toString()) { $(fourWay).val(shadowState); if (typeof(subCfg) !== "undefined") { - subCfg.enableCfg(subCB,null,(shadowState == 1)); + subCfg.enableCfg(subCB,(shadowState == 1)); if (triggerChange) $(subCB).change(); // 'change' event will update "subCfg" // FIXME: Is this needed? YES. But not on direct cb click } } } function matChkBoxNormalize(matCB) { // Makes sure matCBs are in one of 3 states (checked,unchecked,indeterminate) based on matching set of subCBs var classList = $( matCB ).attr("class").split(" "); var isABC = (aryFind(classList,"abc") != -1); if(isABC) alert("ASSERT: matChkBoxNormalize() called for dim ABC!"); classList = aryRemove(classList,["matCB","disabled"]);