Difference between revisions of "User:Minooz/OSD600/FF/patchNewTab"

From CDOT Wiki
< User:Minooz‎ | OSD600‎ | FF
Jump to: navigation, search
(Created page with '<source lang="java"> diff -r cd84bf75a03a browser/base/content/tabbrowser.xml --- a/browser/base/content/tabbrowser.xml Wed Mar 30 17:41:25 2011 -0400 +++ b/browser/base/content/…')
 
Line 1: Line 1:
<source lang="java">
+
<source lang="xml">
 
diff -r cd84bf75a03a browser/base/content/tabbrowser.xml
 
diff -r cd84bf75a03a browser/base/content/tabbrowser.xml
 
--- a/browser/base/content/tabbrowser.xml Wed Mar 30 17:41:25 2011 -0400
 
--- a/browser/base/content/tabbrowser.xml Wed Mar 30 17:41:25 2011 -0400

Revision as of 19:32, 9 April 2011

diff -r cd84bf75a03a browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml	Wed Mar 30 17:41:25 2011 -0400
+++ b/browser/base/content/tabbrowser.xml	Wed Mar 30 17:52:21 2011 -0400
@@ -1335,27 +1335,24 @@
             // activeness in the tab switcher.


-            if ((aRelatedToCurrent == null ? aReferrerURI : aRelatedToCurrent) &&
-                Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) {
               let newTabPos = (this._lastRelatedTab ||
                                this.selectedTab)._tPos + 1;
               if (this._lastRelatedTab)
                 this._lastRelatedTab.owner = null;
               else
                 t.owner = this.selectedTab;
               this.moveTabTo(t, newTabPos);
               this._lastRelatedTab = t;
-            }