trigger delete event, not remove event (more in line with clipboard and history)
This commit is contained in:
parent
e3abfd2702
commit
ee40d049dc
1 changed files with 7 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue