383f4985111a322b269d0849aea6b8d42c6a8df8
kate
  Mon Feb 8 18:26:08 2016 -0800
Disable (gray out) text label on codon numbering.  Disabling the checkbox alone is non-obvious

diff --git src/hg/js/utils.js src/hg/js/utils.js
index 19fb730..f55ed3d 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -1293,30 +1293,31 @@
     overlay.height(height);
     overlay.css({top: (ele.position().top + 1) + 'px', left: divLeft + 'px'});
     return loadingId;
 }
 
 function hideLoadingImage(id)
 {
     $(document.getElementById(id)).remove();
 }
 
 function codonColoringChanged(name)
 {   // Updated disabled state of codonNumbering checkbox based on current value
     // of track coloring select.
     var val = $("select[name='" + name + ".baseColorDrawOpt'] option:selected").text();
     $("input[name='" + name + ".codonNumbering']").attr('disabled', val === "OFF");
+    $("#" + name + "CodonNumberingLabel").toggleClass("disabled", val === "OFF" ? true : false);
 }
 
 
 var bindings = {
     // This object is for finding a subtring using tokens as bounds
     // The tokens can be literal strings or regular expressions.
     // If regular expressions are used, then only the first expression found will count
     // If not using regexp, then you can pass in limits to the original string
 
     _raw: function (begToken,endToken,someString,ixBeg,ixEnd)
     { // primitive not meant to be called directly but by bindings.inside and bindings.outside
         if (someString.length <= 0)
             return '';
         if (ixBeg === undefined || ixBeg === null)
             ixBeg = 0;