diff --git a/apps/documenteditor/mobile/app/controller/DocumentHolder.js b/apps/documenteditor/mobile/app/controller/DocumentHolder.js index 381618c9b..2271cf6ec 100644 --- a/apps/documenteditor/mobile/app/controller/DocumentHolder.js +++ b/apps/documenteditor/mobile/app/controller/DocumentHolder.js @@ -99,7 +99,7 @@ define([ } else if ('paste' == eventName) { me.api.Paste(); } else if ('delete' == eventName) { - console.debug('IMPLEMENT: Delete fragment'); + me.api.asc_Remove(); } else if ('edit' == eventName) { me.view.hideMenu(); diff --git a/apps/documenteditor/mobile/app/controller/edit/EditChart.js b/apps/documenteditor/mobile/app/controller/edit/EditChart.js index 4bdf4c28c..bd77c5b00 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditChart.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditChart.js @@ -317,7 +317,8 @@ define([ }, onRemoveChart: function () { - console.debug('REMOVE Chart!!!'); + this.api.asc_Remove(); + DE.getController('EditContainer').hideModal(); }, onReorder: function (e) { diff --git a/apps/documenteditor/mobile/app/controller/edit/EditImage.js b/apps/documenteditor/mobile/app/controller/edit/EditImage.js index fcaf0d7cd..3f33ef5b4 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditImage.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditImage.js @@ -200,7 +200,8 @@ define([ }, onRemoveImage: function () { - console.debug('REMOVE image!!!'); + this.api.asc_Remove(); + DE.getController('EditContainer').hideModal(); }, onWrapType: function (e) { diff --git a/apps/documenteditor/mobile/app/controller/edit/EditShape.js b/apps/documenteditor/mobile/app/controller/edit/EditShape.js index e93c2f5c2..73b5f6be0 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditShape.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditShape.js @@ -276,7 +276,8 @@ define([ // Handlers onRemoveShape: function () { - console.debug('REMOVE SHAPE!!!'); + this.api.asc_Remove(); + DE.getController('EditContainer').hideModal(); }, onReorder: function (e) {