7b9f6a1e0aaf50c13ef19faeb6045645995ff10a
tdreszer
  Fri Feb 1 16:15:11 2013 -0800
Removed invalid warn message.  Denisovan Modern Derived track trilled over it (redmine 8886).  When views exist but none are configurable, then assertion was wrong.
diff --git src/hg/js/subCfg.js src/hg/js/subCfg.js
index 91c03c2..0f15499 100644
--- src/hg/js/subCfg.js
+++ src/hg/js/subCfg.js
@@ -113,33 +113,30 @@
         if (classList.length == 0) {
             warn("DEBUG: Subtrack cfg div does not have view class for child '"+childObj.name+"'.");
             return undefined;
         } else if (classList.length > 1) {
             warn("DEBUG: Subtrack cfg div for '"+childObj.name+"' has unexpected class: "+classList);
             return undefined;
         }
         if (classList[0] == 'noView') // valid case
             return undefined;
         return classList[0];
     },
 
     viewCfgFind: function (viewTag)
     { // returns the cfg container for a given view
         var viewCfg = normed($('tr#tr_cfg_'+viewTag));
-        if (viewCfg == undefined) {
-            warn('DEBUG: Could not find viewCfg for '+viewTag);
-        }
         return viewCfg;
     },
 
     viewObjFind: function (viewTag,suffix)
     { // returns the control belonging to this view and suffix
         var viewObj;
         if (suffix != undefined) {
             var viewCfg = subCfg.viewCfgFind(viewTag);
             viewObj = normed($(viewCfg).find("[name$='\\."+suffix+"']"));
             if (viewObj == undefined)
                 viewObj = normed($(viewCfg).find("[name$='_"+suffix+"']"));
         } else
             viewObj = normed($("select.viewDD."+viewTag));
 
         return viewObj;