4d5351b79fa9248f97b5ee2a2f6a8acb4b9a4e27
tdreszer
  Thu Jul 24 16:54:17 2014 -0700
Going from fauxVis to the drop-down select in one click really does a number on IE11, causing it to hang.  This fix requires IE11 users to perform 2 clicks to set subtrack visibility. Perhaps Angie can find a more graceful solution, but it probably isn't worth the time.  Redmine #13678.
diff --git src/hg/js/subCfg.js src/hg/js/subCfg.js
index dabbfe8..1221ed5 100644
--- src/hg/js/subCfg.js
+++ src/hg/js/subCfg.js
@@ -635,31 +635,35 @@
         var selectHtml  = "<SELECT name='"+subtrack+"' class='normalText subVisDD "+view+"'";
             selectHtml += " style='width:70px;'>";
         var selected = $(obj).text();
         var visibilities = ['hide','dense','squish','pack','full'];
         if (subCfg.canPack === false)
             visibilities = ['hide','dense','full'];
         $(visibilities).each( function (ix) {
              selectHtml += "<OPTION"+(visibilities[ix] === selected ? " SELECTED":"")+">";
              selectHtml += visibilities[ix]+"</OPTION>";
         });
         selectHtml += "</SELECT>";
         $(obj).replaceWith(selectHtml);
         var newObj = $("select[name='"+subtrack+"']");
         if (open) {
             $(newObj).css({'zIndex':'2','vertical-align':'top'});
+            // For some reason IE11 will hang if the sect is opened to start with!
+            // This ungraceful fix avoids the hang, but a nicer solution would be apprciated!
+            if (theClient.isIePost11() === false) { 
                 $(newObj).attr('size',visibilities.length);
+            }
             $(newObj).one('blur',function (e) {
                 $(this).attr('size',1);
                 $(this).unbind('click');
             });
             $(newObj).one('click',function (e) {
                 $(this).attr('size',1);
                 $(this).unbind('blur');
             });
             $(newObj).focus();
         }
         $(newObj).change(function (e) {
             if ($(this).attr('size') > 1) {
                 $(this).attr('size',1);
                 $(this).unbind('blur');
                 $(this).unbind('click');