Remove attributes from the source tab correctly

This commit is contained in:
YUKI Hiroshi 2016-08-26 18:21:40 +09:00
parent dabf89558f
commit 28acfcd4ac

View File

@ -6603,8 +6603,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
var children = this.getTabValue(aTab, this.kCHILDREN); var children = this.getTabValue(aTab, this.kCHILDREN);
var parent = this.getTabValue(aTab, this.kPARENT); var parent = this.getTabValue(aTab, this.kPARENT);
this.deleteTabValue(newTab, this.kCHILDREN); this.deleteTabValue(aTab, this.kCHILDREN);
this.deleteTabValue(newTab, this.kPARENT); this.deleteTabValue(aTab, this.kPARENT);
var newTab = this.mTabBrowser.duplicateTab(aTab); var newTab = this.mTabBrowser.duplicateTab(aTab);