Fix: missing contentChanged event
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 9 Aug 2013 08:31:28 +0000 (10:31 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 9 Aug 2013 08:31:28 +0000 (10:31 +0200)
modules/documentCanvas/canvas/canvas.js

index 8472688..228bf20 100644 (file)
@@ -257,6 +257,7 @@ $.extend(Canvas.prototype, {
                             element.detach();
                         }
                         canvas.setCurrentElement(goto, {caretTo: caretTo});
                             element.detach();
                         }
                         canvas.setCurrentElement(goto, {caretTo: caretTo});
+                        canvas.publisher('contentChanged');
                     }
                     else if(cursorAtOperationEdge) {
                         // todo
                     }
                     else if(cursorAtOperationEdge) {
                         // todo