From ee40d049dc548f8f5bf0264b29866c83778fdbed Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sat, 3 Aug 2013 13:56:27 +0000 Subject: [PATCH] trigger delete event, not remove event (more in line with clipboard and history) --- source/Ox.UI/js/Video/ClipPanel.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/ClipPanel.js b/source/Ox.UI/js/Video/ClipPanel.js index b07d06bc..f72104bf 100644 --- a/source/Ox.UI/js/Video/ClipPanel.js +++ b/source/Ox.UI/js/Video/ClipPanel.js @@ -310,8 +310,14 @@ Ox.ClipPanel = function(options, self) { copyadd: function(data) { that.triggerEvent('copyadd', data); }, + cut: function(data) { + that.triggerEvent('cut', data); + }, + cutadd: function(data) { + that.triggerEvent('cutadd', data); + }, 'delete': function(data) { - that.triggerEvent('remove', data); + that.triggerEvent('delete', data); }, move: function(data) { data.ids.forEach(function(id, index) {