diff --git a/xpfe/global/resources/content/bindings/tabbrowser.xml b/xpfe/global/resources/content/bindings/tabbrowser.xml index f1a33dda0ab..e645f6a39c3 100644 --- a/xpfe/global/resources/content/bindings/tabbrowser.xml +++ b/xpfe/global/resources/content/bindings/tabbrowser.xml @@ -1364,16 +1364,23 @@ = aSrcIndex) + ++aDestIndex; + var tab = this.mTabContainer.insertBefore(this.mTabs[aSrcIndex], + this.mTabs[aDestIndex]); + this.mCurrentTab.selected = true; + + return tab; ]]>