src/hg/hgTracks/hgTracks.c 1.1628
1.1628 2010/02/16 21:15:44 larrym
move ajax.js include into dragZooming block
Index: src/hg/hgTracks/hgTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.c,v
retrieving revision 1.1627
retrieving revision 1.1628
diff -b -B -U 4 -r1.1627 -r1.1628
--- src/hg/hgTracks/hgTracks.c 16 Feb 2010 02:43:50 -0000 1.1627
+++ src/hg/hgTracks/hgTracks.c 16 Feb 2010 21:15:44 -0000 1.1628
@@ -5389,8 +5389,9 @@
if(dragZooming)
{
jsIncludeFile("jquery.imgareaselect.js", NULL);
jsIncludeFile("utils.js", NULL);
+ jsIncludeFile("ajax.js", NULL);
hPrintf("<link href='../style/autocomplete.css' rel='stylesheet' type='text/css' />\n");
jsIncludeFile("jquery.autocomplete.js", NULL);
jsIncludeFile("autocomplete.js", NULL);
}
@@ -5405,9 +5406,8 @@
hPrintf("<link href='../style/jquery-ui.css' rel='stylesheet' type='text/css' />\n");
jsIncludeFile("jquery-ui.js", NULL);
jsIncludeFile("jquery.contextmenu.js", NULL);
-jsIncludeFile("ajax.js", NULL);
hPrintf("<div id='hgTrackUiDialog' style='display: none'></div>");
// 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");