From d3f25265091ecdb174206016f0fad5f94dffc362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 24 Mar 2014 10:43:58 +0100 Subject: [PATCH] editor: removing unused code --- src/editor/modules/documentCanvas/canvas/keyboard.js | 1 - src/editor/modules/documentCanvas/documentCanvas.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/editor/modules/documentCanvas/canvas/keyboard.js b/src/editor/modules/documentCanvas/canvas/keyboard.js index 378adee..85fbd43 100644 --- a/src/editor/modules/documentCanvas/canvas/keyboard.js +++ b/src/editor/modules/documentCanvas/canvas/keyboard.js @@ -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') { diff --git a/src/editor/modules/documentCanvas/documentCanvas.js b/src/editor/modules/documentCanvas/documentCanvas.js index da7ac81..0a31114 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.js +++ b/src/editor/modules/documentCanvas/documentCanvas.js @@ -61,7 +61,6 @@ return function(sandbox) { }, command: function(command, params) { commands.run(command, params, canvas, sandbox.getConfig().user); - sandbox.publish('contentChanged'); } }; -- 2.20.1