forked from 0x2620/pandora
add copy handlers to context browser
This commit is contained in:
parent
6046a6792a
commit
64a189bca0
1 changed files with 6 additions and 0 deletions
|
@ -127,6 +127,12 @@ pandora.ui.browser = function() {
|
||||||
})
|
})
|
||||||
.addClass('OxMedia')
|
.addClass('OxMedia')
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
copy: function() {
|
||||||
|
Ox.Clipboard.copy(pandora.user.ui.item, 'item');
|
||||||
|
},
|
||||||
|
copyadd: function() {
|
||||||
|
Ox.Clipboard.add(pandora.user.ui.item, 'item');
|
||||||
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
that.scrollToSelection();
|
that.scrollToSelection();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue