Bug 672543 - Don't set accessibility.browsewithcaret when selecting text in Fennec [r=mfinkle]

This commit is contained in:
Matt Brubeck 2011-07-19 10:26:58 -07:00
parent 5143a11574
commit 7e6e64f185

View File

@ -1283,7 +1283,6 @@ var SelectionHelper = {
messageManager.addMessageListener("Browser:SelectionRange", this);
messageManager.addMessageListener("Browser:SelectionCopied", this);
Services.prefs.setBoolPref("accessibility.browsewithcaret", true);
this.popupState.target.messageManager.sendAsyncMessage("Browser:SelectionStart", { x: this.popupState.x, y: this.popupState.y });
BrowserUI.pushPopup(this, [this._start, this._end]);
@ -1313,7 +1312,6 @@ var SelectionHelper = {
}
this.popupState = null;
Services.prefs.setBoolPref("accessibility.browsewithcaret", false);
this._start.hidden = true;
this._end.hidden = true;