editor: removing unused code
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 24 Mar 2014 09:43:58 +0000 (10:43 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 24 Mar 2014 09:43:58 +0000 (10:43 +0100)
src/editor/modules/documentCanvas/canvas/keyboard.js
src/editor/modules/documentCanvas/documentCanvas.js

index 378adee..85fbd43 100644 (file)
@@ -266,7 +266,6 @@ handlers.push({keys: [KEYS.BACKSPACE, KEYS.DELETE],
                     element.data('wlxmlNode').detach();
                 }
                 canvas.setCurrentElement(goto, {caretTo: caretTo});
-                canvas.publisher('contentChanged');
             }
             else if(cursorAtOperationEdge) {
                 if(direction === 'below') {
index da7ac81..0a31114 100644 (file)
@@ -61,7 +61,6 @@ return function(sandbox) {
         },
         command: function(command, params) {
             commands.run(command, params, canvas, sandbox.getConfig().user);
-            sandbox.publish('contentChanged');
         }
     };