From 45a56b61c09e6a4a97abc784b5a9a774041ed5a7 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Tue, 11 Feb 2014 18:00:12 +0000 Subject: [PATCH] Bug 970485 - Australis widget wrapper's anchor property for API-provided widgets causes exceptions, r=mikedeboer --HG-- extra : rebase_source : 6566464caed0c4bf207e7f8b0d6bb0630f5aad7e --- browser/components/customizableui/src/CustomizableUI.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/customizableui/src/CustomizableUI.jsm b/browser/components/customizableui/src/CustomizableUI.jsm index 18f5a302c0c..6e232cf7a5b 100644 --- a/browser/components/customizableui/src/CustomizableUI.jsm +++ b/browser/components/customizableui/src/CustomizableUI.jsm @@ -3139,7 +3139,7 @@ function WidgetSingleWrapper(aWidget, aNode) { this.__defineGetter__("anchor", function() { let anchorId; // First check for an anchor for the area: - let placement = CustomizableUIInternal.getPlacementOfWidget(aWidgetId); + let placement = CustomizableUIInternal.getPlacementOfWidget(aWidget.id); if (placement) { anchorId = gAreas.get(placement.area).get("anchor"); }