diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 13:45:40 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 13:45:40 +0100 |
commit | 66e6aac50638d1f706f0ddaee1529a7b3cb47075 (patch) | |
tree | 61a0b0676d480c1e2253950312936deb1d0938b2 /devtools/client/styleeditor/StyleSheetEditor.jsm | |
parent | 03f6e7acb3f7907a932926f2f62659eafd04e866 (diff) | |
download | UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.gz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.lz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.xz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.zip |
Restore source-editor commands controller for scratchpad & styleeditor menus
https://github.com/MoonchildProductions/moebius/pull/290
Diffstat (limited to 'devtools/client/styleeditor/StyleSheetEditor.jsm')
-rw-r--r-- | devtools/client/styleeditor/StyleSheetEditor.jsm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/client/styleeditor/StyleSheetEditor.jsm b/devtools/client/styleeditor/StyleSheetEditor.jsm index 980e51974..832fcacde 100644 --- a/devtools/client/styleeditor/StyleSheetEditor.jsm +++ b/devtools/client/styleeditor/StyleSheetEditor.jsm @@ -468,6 +468,9 @@ StyleSheetEditor.prototype = { sourceEditor.container.addEventListener("mousemove", this._onMouseMove); } + // Add the commands controller for the source-editor. + sourceEditor.insertCommandsController(); + this.emit("source-editor-load"); }); }, |