forked from 0x2620/pandora
add 'add to clipboard' handler to item lists
This commit is contained in:
parent
49525f188c
commit
8362d55d9d
1 changed files with 3 additions and 0 deletions
|
@ -395,6 +395,9 @@ pandora.ui.list = function() {
|
||||||
copy: function(data) {
|
copy: function(data) {
|
||||||
Ox.Clipboard.copy(data.ids, 'item');
|
Ox.Clipboard.copy(data.ids, 'item');
|
||||||
},
|
},
|
||||||
|
copyadd: function(data) {
|
||||||
|
Ox.Clipboard.add(data.ids, 'item');
|
||||||
|
},
|
||||||
'delete': function(data) {
|
'delete': function(data) {
|
||||||
pandora.getListData().editable && pandora.api.removeListItems({
|
pandora.getListData().editable && pandora.api.removeListItems({
|
||||||
list: pandora.user.ui._list,
|
list: pandora.user.ui._list,
|
||||||
|
|
Loading…
Reference in a new issue