mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 701804 - PageActions must be initialized before registering actions [r=mfinkle, a=javascript]
This commit is contained in:
parent
f30db52b9a
commit
9a439539c0
@ -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});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user