trigger delete event, not remove event (more in line with clipboard and history)

This commit is contained in:
rlx 2013-08-03 13:56:27 +00:00
parent e3abfd2702
commit ee40d049dc

View file

@ -310,8 +310,14 @@ Ox.ClipPanel = function(options, self) {
copyadd: function(data) { copyadd: function(data) {
that.triggerEvent('copyadd', data); that.triggerEvent('copyadd', data);
}, },
cut: function(data) {
that.triggerEvent('cut', data);
},
cutadd: function(data) {
that.triggerEvent('cutadd', data);
},
'delete': function(data) { 'delete': function(data) {
that.triggerEvent('remove', data); that.triggerEvent('delete', data);
}, },
move: function(data) { move: function(data) {
data.ids.forEach(function(id, index) { data.ids.forEach(function(id, index) {