9a24eab7aa53e82ca200d92f532411f37d8487f3 braney Sat Feb 24 18:09:09 2018 -0800 add lazy loading to hgCollection, modify CSP policy to allow blob: diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 480866c..c8c182a 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9788,30 +9788,31 @@ dyStringPrintf(dy,"Mousetrap.bind('1', function() { zoomTo(50);} ); \n"); dyStringPrintf(dy,"Mousetrap.bind('2', function() { zoomTo(500);} ); \n"); dyStringPrintf(dy,"Mousetrap.bind('3', function() { zoomTo(5000);} ); \n"); dyStringPrintf(dy,"Mousetrap.bind('4', function() { zoomTo(50000);} ); \n"); dyStringPrintf(dy,"Mousetrap.bind('5', function() { zoomTo(500000);} ); \n"); dyStringPrintf(dy,"Mousetrap.bind('6', function() { zoomTo(5000000);} ); \n"); // buttons dyStringPrintf(dy,"Mousetrap.bind('c f', function() { $('input[name=\"hgTracksConfigPage\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('t s', function() { $('input[name=\"hgt_tSearch\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('h a', function() { $('input[name=\"hgt.hideAll\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('d t', function() { $('input[name=\"hgt.reset\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('d o', function() { $('input[name=\"hgt.defaultImgOrder\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('c t', function() { document.customTrackForm.submit();return false; }); \n"); dyStringPrintf(dy,"Mousetrap.bind('t h', function() { document.trackHubForm.submit();return false; }); \n"); +dyStringPrintf(dy,"Mousetrap.bind('t c', function() { document.editHubForm.submit();return false; }); \n"); dyStringPrintf(dy,"Mousetrap.bind('r s', function() { $('input[name=\"hgt.setWidth\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('r f', function() { $('input[name=\"hgt.refresh\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('r v', function() { $('input[name=\"hgt.toggleRevCmplDisp\"]').click() }); \n"); dyStringPrintf(dy,"Mousetrap.bind('v d', gotoGetDnaPage); \n"); // highlight dyStringPrintf(dy,"Mousetrap.bind('h c', function() { highlightCurrentPosition('clear'); }); \n"); dyStringPrintf(dy,"Mousetrap.bind('h m', function() { highlightCurrentPosition('add'); }); \n"); //dyStringPrintf(dy,"Mousetrap.bind('h n', function() { highlightCurrentPosition('new'); }); \n"); superfluos as it is just hc + hm? // focus dyStringPrintf(dy,"Mousetrap.bind('/', function() { $('input[name=\"hgt.positionInput\"]').focus(); return false; }, 'keydown'); \n"); dyStringPrintf(dy,"Mousetrap.bind('?', showHotkeyHelp);\n"); // menu @@ -9834,30 +9835,31 @@ // also add an entry to the help menu that shows the keyboard shortcut help dialog dyStringPrintf(dy,"$(document).ready(addKeyboardHelpEntries);\n"); jsInline(dy->string); dyStringFree(&dy); // help dialog hPrintf("
\n"); hPrintf("\n"); hPrintf("\n"); // percent sign hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); // percent sign hPrintf("\n"); +hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf(""); if (gotExtTools) hPrintf(""); hPrintf(" \n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); 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 collectionst then c
right one screenL track hubst then h
zoom in 1.5xctrl+i configurec then f
zoom in 3xi reverser then v
zoom in 10xI resizer then s
zoom in base levelb refreshr then f
zoom out 1.5xctrl+k jump to position box/
zoom out 3xksend to external tools then t
zoom out 10xK exon viewe then v
zoom out 100x0 default viewd then v
zoom to ... view DNAv then d
 50bp (1 zero)1Reset all User Settingsc then r
 500bp (2 zeros)2Tools - BLATt then b