Bug 901070 - When cleaning out unused toolbar buttons from an area, remove the location attributes before putting things into the palette. r=Gijs.

This commit is contained in:
Mike Conley 2013-08-02 16:41:04 -04:00
parent 2c9f65dd10
commit 9fc3e5526d

View File

@ -357,6 +357,7 @@ let CustomizableUIInternal = {
if (this.isWidgetRemovable(node)) {
if (palette) {
palette.appendChild(node);
this.removeLocationAttributes(node);
} else {
container.removeChild(node);
}