From 15477988a90ec6a646e6d2efc94074826e5ca1d9 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 12 Dec 2011 12:14:05 -0800 Subject: [PATCH] Bug 701804 - PageActions must be initialized before registering actions [r=mfinkle, a=javascript] --- mobile/xul/chrome/content/PageActions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/xul/chrome/content/PageActions.js b/mobile/xul/chrome/content/PageActions.js index b62183b68eb..57bdcba5909 100644 --- a/mobile/xul/chrome/content/PageActions.js +++ b/mobile/xul/chrome/content/PageActions.js @@ -70,6 +70,7 @@ var PageActions = { * @param aThisObj (optional) scope object for aCallback */ register: function register(aId, aCallback, aThisObj) { + this.init(); this._handlers.push({id: aId, callback: aCallback, obj: aThisObj}); },