Followup for bug 945753 - fix copy-paste mistake in making Australis set currentset correctly, rs=trivial
☠☠ backed out by 2d8d7315717f ☠ ☠
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 03 Dec 2013 18:40:28 +0100
changeset 173161 ff4388261db5af1791a202ab3af69733171d0fb1
parent 173160 921670f4c865d2189f17aa609bf048ddc19b92a0
child 173162 7b8cc2b3568ba55b088b3e7930f19e1443d06fe1
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
bugs945753
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Followup for bug 945753 - fix copy-paste mistake in making Australis set currentset correctly, rs=trivial
browser/components/customizableui/src/CustomizableUI.jsm
--- a/browser/components/customizableui/src/CustomizableUI.jsm
+++ b/browser/components/customizableui/src/CustomizableUI.jsm
@@ -861,17 +861,17 @@ let CustomizableUIInternal = {
       }
     }
 
     let container = aAreaNode.customizationTarget;
     let [insertionContainer, nextNode] = this.findInsertionPoints(widgetNode, aNextNodeId, aAreaNode);
     this.insertWidgetBefore(widgetNode, nextNode, insertionContainer, areaId);
 
     if (gAreas.get(areaId).get("type") == CustomizableUI.TYPE_TOOLBAR) {
-      areaNode.setAttribute("currentset", gPlacements.get(areaId).join(','));
+      aAreaNode.setAttribute("currentset", gPlacements.get(areaId).join(','));
     }
   },
 
   findInsertionPoints: function(aNode, aNextNodeId, aAreaNode) {
     let props = gAreas.get(aAreaNode.id);
     if (props.get("type") == CustomizableUI.TYPE_TOOLBAR && props.get("overflowable") &&
         aAreaNode.getAttribute("overflowing") == "true") {
       return aAreaNode.overflowable.getOverflowedInsertionPoints(aNode, aNextNodeId);