1c6c924436ec6dfb8e8164b73f659c655fa98a7d
larrym
  Wed Feb 22 15:45:09 2012 -0800
convert showWarning calls to warn in javascript code (I'm cleaning up code by removing a reimplementation of the warn code)
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index e875957..8101b35 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -6013,32 +6013,30 @@
 #ifdef LOWELAB
     jsIncludeFile("lowetooltip.js", NULL);
 #endif///def LOWELAB
 
         webIncludeResourceFile("jquery-ui.css");
         if (!searching) // NOT doing search
             {
             webIncludeResourceFile("jquery.contextmenu.css");
             jsIncludeFile("jquery.contextmenu.js", NULL);
             webIncludeResourceFile("ui.dropdownchecklist.css");
             jsIncludeFile("ui.dropdownchecklist.js", NULL);
             jsIncludeFile("ddcl.js", NULL);
         }
 
     hPrintf("<div id='hgTrackUiDialog' style='display: none'></div>\n");
-    // XXXX stole this and '.hidden' from bioInt.css - needs work
-    hPrintf("<div id='warning' class='ui-state-error ui-corner-all hidden' style='font-size: 0.75em; display: none;' onclick='$(this).hide();'><p><span class='ui-icon ui-icon-alert' style='float: left; margin-right: 0.3em;'></span><strong></strong><span id='warningText'></span> (click to hide)</p></div>\n");
     }
 
 /* check for new data hub */
 if (cartVarExists(cart, hgHubDataText))
     {
     addDataHubs(cart);
     }
 
 if (cartVarExists(cart, "chromInfoPage"))
     {
     cartRemove(cart, "chromInfoPage");
     chromInfoPage();
     }
 else if (differentString(cartUsualString(cart, TRACK_SEARCH,"0"),"0"))
     {