From 4f1921feb4dda64a2a2aa8ef0aeb5487cdc908ea Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Mon, 13 Jun 2016 21:03:38 +0200 Subject: [PATCH] Fix export panel --- src/commands/view/ExportTemplate.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/view/ExportTemplate.js b/src/commands/view/ExportTemplate.js index 33d36522b..fdf7ebffe 100644 --- a/src/commands/view/ExportTemplate.js +++ b/src/commands/view/ExportTemplate.js @@ -5,12 +5,12 @@ define(function() { * */ return { - run: function(em, sender){ + run: function(editor, sender){ this.sender = sender; - this.components = em.get('Canvas').getWrapper().get('components'); - this.modal = em.get('Modal') || null; - this.cm = em.get('CodeManager') || null; - this.cssc = em.get('CssComposer') || null; + this.components = editor.Canvas.getWrapper().get('components'); + this.modal = editor.Dialog || null; + this.cm = editor.CodeManager || null; + this.cssc = editor.CssComposer || null; this.enable(); },