[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) { } else if ('paste' == eventName) {
me.api.Paste(); me.api.Paste();
} else if ('delete' == eventName) { } else if ('delete' == eventName) {
console.debug('IMPLEMENT: Delete fragment'); me.api.asc_Remove();
} else if ('edit' == eventName) { } else if ('edit' == eventName) {
me.view.hideMenu(); me.view.hideMenu();

View file

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

View file

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

View file

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