add copy handlers to context browser

This commit is contained in:
rolux 2013-07-15 09:58:43 +00:00
parent 6046a6792a
commit 64a189bca0

View file

@ -127,6 +127,12 @@ pandora.ui.browser = function() {
})
.addClass('OxMedia')
.bindEvent({
copy: function() {
Ox.Clipboard.copy(pandora.user.ui.item, 'item');
},
copyadd: function() {
Ox.Clipboard.add(pandora.user.ui.item, 'item');
},
open: function() {
that.scrollToSelection();
},