Browse Source

Fix export panel

pull/36/head
Artur Arseniev 10 years ago
parent
commit
4f1921feb4
  1. 10
      src/commands/view/ExportTemplate.js

10
src/commands/view/ExportTemplate.js

@ -5,12 +5,12 @@ define(function() {
* */ * */
return { return {
run: function(em, sender){ run: function(editor, sender){
this.sender = sender; this.sender = sender;
this.components = em.get('Canvas').getWrapper().get('components'); this.components = editor.Canvas.getWrapper().get('components');
this.modal = em.get('Modal') || null; this.modal = editor.Dialog || null;
this.cm = em.get('CodeManager') || null; this.cm = editor.CodeManager || null;
this.cssc = em.get('CssComposer') || null; this.cssc = editor.CssComposer || null;
this.enable(); this.enable();
}, },

Loading…
Cancel
Save