d4d8f531049ad83078fb6130e3d6a341abb5c97b jcasper Fri Jul 1 16:38:21 2016 -0700 Adding hgTracks keyboard shortcut to Public Sessions CGI, refs #17469 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index b47d0c4..216be7e 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9386,30 +9386,31 @@ if (gotExtTools) hPrintf("Mousetrap.bind('s t', showExtToolDialog); \n"); // multi-region views hPrintf("Mousetrap.bind('e v', function() { window.location.href='%s?%s=%s&virtModeType=exonMostly'; }); \n", hgTracksName(), cartSessionVarName(), cartSessionId(cart)); hPrintf("Mousetrap.bind('d v', function() { window.location.href='%s?%s=%s&virtModeType=default'; }); \n", hgTracksName(), cartSessionVarName(), cartSessionId(cart)); // links to a few tools hPrintf("Mousetrap.bind('t b', function() { $('#blatMenuLink').click()});\n"); hPrintf("Mousetrap.bind('t i', function() { $('#ispMenuLink').click()});\n"); hPrintf("Mousetrap.bind('t t', function() { $('#tableBrowserMenuLink').click()});\n"); hPrintf("Mousetrap.bind('c r', function() { $('#cartResetMenuLink').click()});\n"); hPrintf("Mousetrap.bind('s s', function() { $('#sessionsMenuLink').click()});\n"); +hPrintf("Mousetrap.bind('p s', function() { $('#publicSessionsMenuLink').click()});\n"); // also add an entry to the help menu that shows the keyboard shortcut help dialog hPrintf("$(document).ready(addKeyboardHelpEntries);"); hPrintf("\n"); // help dialog hPrintf("
\n"); hPrintf("\n"); hPrintf("\n"); // percent sign hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); // percent sign hPrintf("\n"); hPrintf("\n");
left 10%ctrl+j track searcht then s
left 1/2 screenj default tracksd then t
left one screenJ default orderd then o
right 10%ctrl+l hide allh then a
right 1/2 screenl custom tracksc then t
right one screenL track hubst then h