canvas: wlxmlListener fix
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / wlxmlListener.js
index ec3001d..ecf4900 100644 (file)
@@ -14,6 +14,7 @@ $.extend(Listener.prototype, {
         if(wlxmlDocument === this.wlxmlDocument) {
             return;
         }
+        this.wlxmlDocument = wlxmlDocument;
 
         wlxmlDocument.on('change', function(event) {
             var handler = handlers[event.type];