Commit b3826780 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Remove objects.

parent 939c50e6
......@@ -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();
......
......@@ -317,7 +317,8 @@ define([
},
onRemoveChart: function () {
console.debug('REMOVE Chart!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onReorder: function (e) {
......
......@@ -200,7 +200,8 @@ define([
},
onRemoveImage: function () {
console.debug('REMOVE image!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onWrapType: function (e) {
......
......@@ -276,7 +276,8 @@ define([
// Handlers
onRemoveShape: function () {
console.debug('REMOVE SHAPE!!!');
this.api.asc_Remove();
DE.getController('EditContainer').hideModal();
},
onReorder: function (e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment