Created
August 29, 2011 18:25
-
-
Save eri451/1179037 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changeGroup: function changeGroup(TargetGroupTitle){ | |
let activeTab = window.gBrowser.selectedTab; | |
let targetGroupId = this.getIdByTitle(TargetGroupTitle); | |
if (targetGroupId != null){ | |
TabView.moveTabTo(activeTab, targetGroupId); | |
TabView.hide(); | |
} | |
activeTab._tabViewTabItem.parent.closeIfEmpty() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment