Store only hashed version for selection text
This commit is contained in:
parent
2f12218ce6
commit
d824402f3d
@ -56,7 +56,7 @@
|
||||
return;
|
||||
global.sendAsyncMessage(TreeStyleTabConstants.MESSAGE_TYPE, {
|
||||
command : TreeStyleTabConstants.COMMAND_REPORT_SELECTION_CHANGE,
|
||||
text : aEvent.target.getSelection().toString()
|
||||
text : getHashString(aEvent.target.getSelection().toString().trim())
|
||||
});
|
||||
return;
|
||||
|
||||
|
@ -295,7 +295,7 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
|
||||
|
||||
shouldOpenSearchResultAsChild : function TSTWindow_shouldOpenSearchResultAsChild(aTerm)
|
||||
{
|
||||
aTerm = aTerm.trim();
|
||||
aTerm = getHashString(aTerm.trim());
|
||||
|
||||
var mode = utils.getTreePref('autoAttach.searchResult');
|
||||
if (mode == this.kSEARCH_RESULT_ATTACH_ALWAYS) {
|
||||
|
Loading…
Reference in New Issue
Block a user