Commit b3826780 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Remove objects.

parent 939c50e6
...@@ -99,7 +99,7 @@ define([ ...@@ -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();
......
...@@ -317,7 +317,8 @@ define([ ...@@ -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) {
......
...@@ -200,7 +200,8 @@ define([ ...@@ -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) {
......
...@@ -276,7 +276,8 @@ define([ ...@@ -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) {
......
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