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?hp=038583a188bfecdf9cae22d139116b6a57f7a14d 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, {