b46a0eac56b1a6700ea6ab8b2383ed76e0b4f330 angie Thu Apr 28 13:17:04 2016 -0700 Adding 'Track Search' under 'Genome Browser' menu. refs #15277 notes 227, 229 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 8caf9be..c686985 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -3276,51 +3276,54 @@ $('#hgTracksDialog').dialog('option' , 'title' , popUpHgt.title); $('#hgTracksDialog').dialog('open'); } }; // A function to show the keyboard help dialog box, bound to ? and called from the menu bar function showHotkeyHelp() { $("#hotkeyHelp").dialog({width:'600'}); } // A function to add an entry for the keyboard help dialog box to the menubar // and add text that indicates the shortcuts to many static menubar items as suggested by good old IBM CUA/SAA function addKeyboardHelpEntries() { - html = '
  • Keyboard Shortcuts?
  • '; + var html = '
  • Keyboard Shortcuts?
  • '; $('#help .last').before(html); html = 's s'; $('#sessionsMenuLink').after(html); html = 'c t'; $('#customTracksMenuLink').after(html); html = 't h'; $('#trackHubsMenuLink').after(html); html = 't b'; $('#blatMenuLink').after(html); html = 't t'; $('#tableBrowserMenuLink').after(html); html = 't i'; $('#ispMenuLink').after(html); + html = 't s'; + $('#trackSearchMenuLink').after(html); + html = 'c f'; $('#configureMenuLink').after(html); html = 'c r'; $('#cartResetMenuLink').after(html); } // A function for the keyboard shortcut: // View DNA function gotoGetDnaPage() { var position = hgTracks.chromName+":"+hgTracks.winStart+"-"+hgTracks.winEnd; if (hgTracks.virtualSingleChrom && (pos.chrom.search("virt") === 0)) { position = genomePos.get().replace(/,/g,''); } else if (hgTracks.windows && hgTracks.nonVirtPosition) { position = hgTracks.nonVirtPosition;