From: Aleksander Ɓukasz Date: Fri, 11 Oct 2013 15:14:03 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/019868549c3c14e1336d67187b70d3297be1847a?ds=sidebyside fix --- diff --git a/src/editor/modules/documentCanvas/canvas/canvas.js b/src/editor/modules/documentCanvas/canvas/canvas.js index 97ad592..830db75 100644 --- a/src/editor/modules/documentCanvas/canvas/canvas.js +++ b/src/editor/modules/documentCanvas/canvas/canvas.js @@ -13,9 +13,9 @@ define([ var Canvas = function(wlxmlDocument, publisher) { this.eventBus = _.extend({}, Backbone.Events); this.wrapper = $('
').addClass('canvas-wrapper').attr('contenteditable', true); + this.wlxmlListener = wlxmlListener.create(this); this.loadWlxmlDocument(wlxmlDocument); this.publisher = publisher ? publisher : function() {}; - this.wlxmlListener = wlxmlListener.create(this); }; $.extend(Canvas.prototype, {