From 9fc3e5526d58504014d170a14448eeee7af52f55 Mon Sep 17 00:00:00 2001 From: Mike Conley Date: Fri, 2 Aug 2013 16:41:04 -0400 Subject: [PATCH] Bug 901070 - When cleaning out unused toolbar buttons from an area, remove the location attributes before putting things into the palette. r=Gijs. --- browser/components/customizableui/src/CustomizableUI.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/components/customizableui/src/CustomizableUI.jsm b/browser/components/customizableui/src/CustomizableUI.jsm index 21fff255b69..df6a23d6952 100644 --- a/browser/components/customizableui/src/CustomizableUI.jsm +++ b/browser/components/customizableui/src/CustomizableUI.jsm @@ -357,6 +357,7 @@ let CustomizableUIInternal = { if (this.isWidgetRemovable(node)) { if (palette) { palette.appendChild(node); + this.removeLocationAttributes(node); } else { container.removeChild(node); }