d4d8f531049ad83078fb6130e3d6a341abb5c97b jcasper Fri Jul 1 16:38:21 2016 -0700 Adding hgTracks keyboard shortcut to Public Sessions CGI, refs #17469 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index c686985..988d252 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -3282,30 +3282,33 @@ // 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() { var html = '<li><a title="List all possible keyboard shortcuts" href="javascript:showHotkeyHelp()">Keyboard Shortcuts</a><span class="shortcut">?</span></li>'; $('#help .last').before(html); html = '<span class="shortcut">s s</span>'; $('#sessionsMenuLink').after(html); + html = '<span class="shortcut">p s</span>'; + $('#publicSessionsMenuLink').after(html); + html = '<span class="shortcut">c t</span>'; $('#customTracksMenuLink').after(html); html = '<span class="shortcut">t h</span>'; $('#trackHubsMenuLink').after(html); html = '<span class="shortcut">t b</span>'; $('#blatMenuLink').after(html); html = '<span class="shortcut">t t</span>'; $('#tableBrowserMenuLink').after(html); html = '<span class="shortcut">t i</span>'; $('#ispMenuLink').after(html);