917e844485ed3fd32b4cf90790f604e2643600b1 max Fri Oct 18 14:50:19 2024 -0700 removing alert which wasnt useful in the end, refs #34653 diff --git src/hg/js/subCfg.js src/hg/js/subCfg.js index 5a2904f..9682e54 100644 --- src/hg/js/subCfg.js +++ src/hg/js/subCfg.js @@ -729,32 +729,30 @@ $(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, "+ - "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; if (metadataIsVisible(subtrack))