1
edit
Changes
no edit summary
<pre>
Index: tabbrowser.xml
== Other =================================================================I'm interested in contributing to the [httpRCS file:/cvsroot/mozilla/browser/base/content/zenittabbrowser.xml,vretrieving revision 1.243diff -u -8 -p -r1.243 tabbrowser.xml--- tabbrowser.senecacxml 18 Sep 2007 00:59:41 -0000 1.on243+++ tabbrowser.caxml 15 Oct 2007 21:26:23 -0000@@ -1073,32 +1073,41 @@ <parameter name="aURI"/> <parameter name="aReferrerURI"/> <parameter name="aCharset"/wiki> <parameter name="aPostData"/index.php> <parameter name="aLoadInBackground"/> <parameter name="aAllowThirdPartyFixup"/Desktop_Social_Networking_Integration Desktop Social Networking Integration]project as well as the > <body> <![CDATA[http+ + + + + + var bgLoad = (aLoadInBackground != null) ? aLoadInBackground : this.mPrefs.getBoolPref("browser.tabs.loadInBackground"); var owner = bgLoad ? null : this.selectedTab; var tab = this.addTab(aURI, aReferrerURI, aCharset, aPostData, owner, aAllowThirdPartyFixup); // Set newly selected tab after quick timeout, otherwise hideous focus problems //zenitcan occur when "browser.tabs.senecacloadInBackground" is false and presshell is not ready if (!bgLoad) { function selectNewForegroundTab(browser, tab) { browser.onselectedTab = tab; } setTimeout(selectNewForegroundTab, 0, getBrowser(), tab); } if (!bgLoad) this.caselectedTab = tab; + + var position = currentTabIndex + 1;+ return tab; ]]> </wikibody> </indexmethod> <method name="loadTabs"> <parameter name="aURIs"/> <parameter name="aLoadInBackground"/>@@ -1173,19 +1182,24 @@ t.maxWidth = this.mTabContainer.mTabMaxWidth; t.minWidth = this.mTabContainer.mTabMinWidth; t.width = 0; t.setAttribute("flex", "100"); t.setAttribute("validate", "never"); t.setAttribute("onerror", "this.parentNode.parentNode.parentNode.parentNode.addToMissedIconCache(this.getAttribute('image')); this.removeAttribute('image');"); t.className = "tabbrowser-tab"; - this.mTabContainer.appendChild(t);-- if (document.defaultView+ + + var currentTabIndex = this.mTabContainer.selectedIndex;+ this.mTabContainer.insertBefore(t, this.mTabContainer.childNodes.item(currentTabIndex + 1));+ + + + if (document.phpdefaultView .getComputedStyle(this.mTabContainer, "") .direction == "rtl") { /Project_List#Testing_of_Canadian_Banking_and_Financial_Sites_in_Mozilla Testing * In RTL UI, the tab is visually added to the left side of Canadian Banking and Financial Sites the * tabstrip. This means the tabstip has to be scrolled back in Mozilla] project. I've emailed * order to make sure the project's leaders same set of tabs is visible before and asked them to provide me with tasks they need completed * after the new tab is added */ this.mTabContainer.mTabstrip.scrollBoxObject
== FSOSS 2007 Report (DPS909) ==
[http://zenit.senecac.on.ca/wiki/index.php/User:Rueen/FSOSS_07_Report FSOSS: A Beginner's Perspective]
== Other ==