[DE mobile] Remove objects.

This commit is contained in:
Alexander Yuzhin 2016-11-21 15:29:07 +03:00
parent 939c50e6fb
commit b382678032
4 changed files with 7 additions and 4 deletions

View file

@ -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();

View file

@ -317,7 +317,8 @@ define([
},
onRemoveChart: function () {
console.debug('REMOVE Chart!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onReorder: function (e) {

View file

@ -200,7 +200,8 @@ define([
},
onRemoveImage: function () {
console.debug('REMOVE image!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onWrapType: function (e) {

View file

@ -276,7 +276,8 @@ define([
// Handlers
onRemoveShape: function () {
console.debug('REMOVE SHAPE!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onReorder: function (e) {