author | Mike Conley <mconley@mozilla.com> |
Fri, 02 Aug 2013 14:50:24 -0400 | |
changeset 155625 | 05b4f93ec4d96ef32f3e1d8060f3815a0ebee36c |
parent 155624 | 35f2752c86ed1a267efec5bb0fcf71109b34a45e |
child 155626 | 1fd99ab6698951010052bbac6a186ec51f114c0e |
push id | 25666 |
push user | jwein@mozilla.com |
push date | Mon, 18 Nov 2013 15:56:58 +0000 |
treeherder | mozilla-central@f2adb62d07eb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 901058 |
milestone | 25.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
|
browser/components/customizableui/src/CustomizableUI.jsm | file | annotate | diff | comparison | revisions |
--- a/browser/components/customizableui/src/CustomizableUI.jsm +++ b/browser/components/customizableui/src/CustomizableUI.jsm @@ -520,17 +520,17 @@ let CustomizableUIInternal = { widgetNode.setAttribute("type", "wrap"); } } let nextNode = nextNodeId ? container.querySelector(idToSelector(nextNodeId)) : null; this.insertWidgetBefore(widgetNode, nextNode, container, aArea); this._addParentFlex(widgetNode); - if (area.get("type") == this.TYPE_TOOLBAR) { + if (area.type == this.TYPE_TOOLBAR) { areaNode.setAttribute("currentset", areaNode.currentSet); } } }, onWidgetRemoved: function(aWidgetId, aArea) { let areaNodes = gBuildAreas.get(aArea); if (!areaNodes) { @@ -563,17 +563,17 @@ let CustomizableUIInternal = { } else { this.removeLocationAttributes(widgetNode); widgetNode.removeAttribute("tabindex"); if (widgetNode.getAttribute("type") == "wrap") { widgetNode.removeAttribute("type"); } areaNode.toolbox.palette.appendChild(widgetNode); } - if (area.get("type") == this.TYPE_TOOLBAR) { + if (area.type == this.TYPE_TOOLBAR) { areaNode.setAttribute("currentset", areaNode.currentSet); } } }, onWidgetMoved: function(aWidgetId, aArea, aOldPosition, aNewPosition) { let areaNodes = gBuildAreas.get(aArea); if (!areaNodes) { @@ -606,17 +606,17 @@ let CustomizableUIInternal = { if (!widgetNode) { ERROR("Widget not found, unable to move"); continue; } let nextNode = nextNodeId ? container.querySelector(idToSelector(nextNodeId)) : null; this.insertWidgetBefore(widgetNode, nextNode, container, aArea); - if (area.get("type") == this.TYPE_TOOLBAR) { + if (area.type == this.TYPE_TOOLBAR) { areaNode.setAttribute("currentset", areaNode.currentSet); } } }, registerBuildArea: function(aArea, aNode) { // We ensure that the window is registered to have its customization data // cleaned up when unloading.