09b2cc42cfd3b47dabe774f5fb4f77eb31c3bed2
max
Tue Oct 7 05:50:44 2025 -0700
fixing error message when VCF tree display is part of a composite, refs #36259
diff --git src/hg/js/subCfg.js src/hg/js/subCfg.js
index fa3255b46ca..c8d0dd8d8dd 100644
--- src/hg/js/subCfg.js
+++ src/hg/js/subCfg.js
@@ -579,31 +579,31 @@
if (ix > 0)
cleanHtml = cleanHtml.substring(0,ix - 1);
cleanHtml = "
"
+ cleanHtml + "
";
$(cfg).html(cleanHtml);
appendNonceJsToPage(nonceJs);
$(cfg).addClass('filled');
var boxWithin = $(cfg).find('.blueBox');
if (boxWithin.length > 1)
$(boxWithin[1]).removeClass('blueBox');
- var subObjs = $(cfg).find('input,select').filter("[name]");
+ var subObjs = $(cfg).find('input,select').filter("[name]").not('[type="submit"]');
if (subObjs.length === 0) {
warn('DEBUG: Did not find controls for cfg: ' + cfg.id);
return;
}
$(subObjs).each(function (i) {
if (this.name) { // The filter("[name]") above didn't do it!
if (this.type !== 'hidden') {
subCfg.inheritSetting(this,false); // updates any values that have been changed
var suffix = subCfg.objSuffixGet(this); // on this page
if (suffix && suffix.length > 0)
$(this).change( subCfg.markChange );
else
warn("DEBUG: couldn't find suffix for subtrack control: "+this.name);
}
}