src/hg/js/hui.js 1.47

1.47 2010/01/04 19:12:27 kent
Merging viewInTheMiddle branch.
Index: src/hg/js/hui.js
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/js/hui.js,v
retrieving revision 1.46
retrieving revision 1.47
diff -b -B -U 4 -r1.46 -r1.47
--- src/hg/js/hui.js	11 Dec 2009 23:08:06 -0000	1.46
+++ src/hg/js/hui.js	4 Jan 2010 19:12:27 -0000	1.47
@@ -540,13 +540,8 @@
 function showConfigControls(name)
 {
 // Will show configuration controls for name= {tableName}.{view}
 // Config controls not matching name will be hidden
-    //if($( ".viewDD[name$='" + name + ".vis']").attr("selectedIndex") == 0) {
-    //    $("input[name$='.showCfg']").val("off");
-    //    $("tr[id^='tr_cfg_']").css('display','none');  // hide cfg controls when view is hide
-    //    return true;
-    //}
     var trs  = $("tr[id^='tr_cfg_']")
     $("input[name$='.showCfg']").val("off"); // Turn all off
     $( trs ).each( function (i) {
         if( this.id == 'tr_cfg_'+name && this.style.display == 'none') {
@@ -557,9 +552,10 @@
             $( this ).css('display','none');
         }
     });
 
-    $("table[id^='subtracks.']").each( function (i) { subtrackCfgHideAll(this);} ); // Close the cfg controls in the subtracks
+    // Close the cfg controls in the subtracks
+    $("table[id^='subtracks.']").each( function (i) { subtrackCfgHideAll(this);} ); 
     return true;
 }
 
 function trAlternateColors(table,cellIx)