d4a8262db6dfa1e7fe92f2975298529d152bbd95 max Mon Jan 11 14:11:01 2021 -0800 no more urlencoded letters in the right click menu, refs #26687 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 1dddc210..3e8e35e 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -2756,31 +2756,31 @@ // For barChart mouseovers, replace title (which may be a category // name+value) with item name if (rec.type.indexOf("barChart") === 0 || rec.type.indexOf("bigBarChart") === 0) { a = /i=([^&]+)/.exec(href); if (a && a[1]) { title = a[1]; } } } if (isHgc && ( href.indexOf('g=gtexGene')!== -1 || href.indexOf('g=unip') !== -1 )) { // For GTEx gene mouseovers, replace title (which may be a tissue name) with // item (gene) name a = /i=([^&]+)/.exec(href); if (a && a[1]) { - title = a[1]; + title = decodeURIComponent(a[1]); } } if (displayItemFunctions) { o[rightClick.makeImgTag("magnify.png") + " Zoom to " + title] = { onclick: function(menuItemClicked, menuObject) { rightClick.hit(menuItemClicked, menuObject, "selectWholeGene"); return true; } }; o[rightClick.makeImgTag("highlight.png") + " Highlight " + title] = { onclick: function(menuItemClicked, menuObject) { rightClick.hit(menuItemClicked, menuObject, "highlightItem"); return true; }