editor: fix - removing redundant endTransaction call
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 8 Apr 2014 10:13:05 +0000 (12:13 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 8 Apr 2014 10:13:05 +0000 (12:13 +0200)
This should be removed in 78f57106d86fd31156033dce3d4fa9d8df5361fa .

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();
                     });
-                    canvas.wlxmlDocument.endTransaction();
                 });
                 dialog.show();
                 return true;