Report hash string as selection text
This commit is contained in:
parent
5c767c482b
commit
4c1a2a1f98
@ -310,9 +310,10 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
|
|||||||
log('shouldOpenSearchResultAsChild: contextMenuContentData =', contextMenuContentData);
|
log('shouldOpenSearchResultAsChild: contextMenuContentData =', contextMenuContentData);
|
||||||
if (contextMenuContentData && contextMenuContentData.selectionInfo) {
|
if (contextMenuContentData && contextMenuContentData.selectionInfo) {
|
||||||
selection = contextMenuContentData.selectionInfo.text;
|
selection = contextMenuContentData.selectionInfo.text;
|
||||||
log('selection (contextMenuContentData) => ', selection);
|
if (selection) {
|
||||||
if (selection)
|
|
||||||
selection = getHashString(selection.trim());
|
selection = getHashString(selection.trim());
|
||||||
|
log('selection (contextMenuContentData) => ', selection);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
let tab = this.window.gBrowser.selectedTab;
|
let tab = this.window.gBrowser.selectedTab;
|
||||||
|
Loading…
Reference in New Issue
Block a user