Report hash string as selection text

This commit is contained in:
Piro / YUKI Hiroshi 2016-08-24 02:46:53 +09:00
parent 5c767c482b
commit 4c1a2a1f98

View File

@ -310,9 +310,10 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
log('shouldOpenSearchResultAsChild: contextMenuContentData =', contextMenuContentData);
if (contextMenuContentData && contextMenuContentData.selectionInfo) {
selection = contextMenuContentData.selectionInfo.text;
log('selection (contextMenuContentData) => ', selection);
if (selection)
if (selection) {
selection = getHashString(selection.trim());
log('selection (contextMenuContentData) => ', selection);
}
}
else {
let tab = this.window.gBrowser.selectedTab;