mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 17:47:34 +09:00
Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
This commit is contained in:
parent
29aff48629
commit
36bcd9863f
1 changed files with 0 additions and 11 deletions
|
|
@ -2303,17 +2303,6 @@
|
||||||
this._swapBrowserDocShells(aOurTab, otherBrowser);
|
this._swapBrowserDocShells(aOurTab, otherBrowser);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle findbar data (if any)
|
|
||||||
let otherFindBar = aOtherTab._findBar;
|
|
||||||
if (otherFindBar &&
|
|
||||||
otherFindBar.findMode == otherFindBar.FIND_NORMAL) {
|
|
||||||
let ourFindBar = this.getFindBar(aOurTab);
|
|
||||||
ourFindBar._findField.value = otherFindBar._findField.value;
|
|
||||||
if (!otherFindBar.hidden) {
|
|
||||||
ourFindBar.onFindCommand();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Finish tearing down the tab that's going away.
|
// Finish tearing down the tab that's going away.
|
||||||
remoteBrowser._endRemoveTab(aOtherTab);
|
remoteBrowser._endRemoveTab(aOtherTab);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue