editor: Better invalid cursor handling
[fnpeditor.git] / src / editor / modules / documentCanvas / commands.js
index 1fd2f21..85831d8 100644 (file)
@@ -246,7 +246,6 @@ commands.register('newNodeRequested', function(canvas, params, user) {
                         node.setAttr('href', event.formData.href);
                         event.success();
                     });
                         node.setAttr('href', event.formData.href);
                         event.success();
                     });
-                    canvas.wlxmlDocument.endTransaction();
                 });
                 dialog.show();
                 return true;
                 });
                 dialog.show();
                 return true;