Backed out changeset ff4388261db5 (bug 945753)
authorMike Conley <mconley@mozilla.com>
Tue, 03 Dec 2013 23:24:20 -0500
changeset 174152 2d8d7315717fa60d800483e0bb28ffb898ca709e
parent 174151 947c1845e42acbf7a30b2f735a0786dc29c572c1
child 174153 ae71523f056f933cdab919b524bb11b07ef53df4
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs945753
milestone28.0a1
backs outff4388261db5af1791a202ab3af69733171d0fb1
Backed out changeset ff4388261db5 (bug 945753)
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) {
-      aAreaNode.setAttribute("currentset", gPlacements.get(areaId).join(','));
+      areaNode.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);