integration wip: handle newNodeRequested in a new way
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.js
index a4785ad..3a662e9 100644 (file)
@@ -33,6 +33,7 @@ $.extend(Canvas.prototype, {
         this.setupEventHandling();
 
         this.wlxmlListener.listenTo(wlxmlDocument);
+        this.wlxmlDocument = wlxmlDocument;
     },
 
     generateCanvasDOM: function(wlxmlNode) {