eb78be0ea632442a7ff6c55321f5bb6cafb2c7d2 braney Tue Mar 6 09:36:21 2018 -0800 add tool tips and the ability to put multiwigs into collections from hgTracks diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index a3b04d3..e7227ec 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -3261,31 +3261,31 @@ if ( currentlySeen ) { // Remove only when seen o[rightClick.makeImgTag("highlightRemove.png") + " Remove highlight"] = { onclick: rightClick.makeHitCallback('removeHighlight') }; } menu.push(o); } } if (rec.isCustomComposite) { // add delete from composite } - else if ((!rec.hasChildren && !rec.type.startsWith("wigMaf")) && + else if ((!rec.type.startsWith("wigMaf")) && (rec.type.startsWith("bigWig") || rec.type.startsWith("multiWig") || rec.type.startsWith("wig") || rec.type.startsWith("bedGraph"))) { o = {}; o[" Make a New Collection with \"" + rec.shortLabel + "\""] = { onclick: rightClick.makeHitCallback("newCollection") }; menu.push(o); if (hgTracks.collections) { var ii; for(ii=0; ii < hgTracks.collections.length; ii++) { o = {}; o[" Add to \"" + hgTracks.collections[ii].shortLabel + "\""] = { onclick: rightClick.makeHitCallback("addCollection") }; menu.push(o);