5c17b0e02a8d094238e75146fdb8371df336faf0 max Tue Oct 15 09:01:37 2024 -0700 didnt see error message during previous commit diff --git src/hg/js/subCfg.js src/hg/js/subCfg.js index a998350..5a2904f 100644 --- src/hg/js/subCfg.js +++ src/hg/js/subCfg.js @@ -729,31 +729,31 @@ $(cfg).hide(); } } }, cfgToggle: function (wrench,subtrack) { // Opens/closes subtrack cfg dialog, populating if empty var cfg = normed($(document.getElementById("div_cfg_"+subtrack))); if (!cfg) { warn("DEBUG: Can't find div_cfg_"+subtrack); return false; } if ($(cfg).css('display') === 'none') { if ($(wrench).hasClass('disabled')) { - alert("This track is not active. To configure this track, please make it visible first by clicking the checkbox, " + alert("This track is not active. To configure this track, please make it visible first by clicking the checkbox, "+ "then click the 'Configure' link."); return; } // Don't allow if this composite is not enabled! // find the cb var tr = $(cfg).parents('tr').first(); var subCb = normed($(tr).find("input[name='"+subtrack+"_sel']")); if (!subCb) { warn("DEBUG: Can't find subCB for "+subtrack); return false; } //if (subCb.disabled === true) // || subCb.checked === false) if (isFauxDisabled(subCb,true)) return false;