fix copy from document browser
This commit is contained in:
parent
0d51906dd8
commit
812e8a8345
1 changed files with 3 additions and 5 deletions
|
@ -46,10 +46,10 @@ pandora.ui.documentBrowser = function() {
|
||||||
.addClass('OxMedia')
|
.addClass('OxMedia')
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
copy: function() {
|
copy: function() {
|
||||||
pandora.clipboard.copy(pandora.user.ui.item, 'document');
|
pandora.clipboard.copy(pandora.user.ui.document, 'document');
|
||||||
},
|
},
|
||||||
copyadd: function() {
|
copyadd: function() {
|
||||||
pandora.clipboard.add(pandora.user.ui.item, 'document');
|
pandora.clipboard.add(pandora.user.ui.document, 'document');
|
||||||
},
|
},
|
||||||
gainfocus: function() {
|
gainfocus: function() {
|
||||||
pandora.$ui.mainMenu.replaceItemMenu();
|
pandora.$ui.mainMenu.replaceItemMenu();
|
||||||
|
@ -58,9 +58,7 @@ pandora.ui.documentBrowser = function() {
|
||||||
that.scrollToSelection();
|
that.scrollToSelection();
|
||||||
},
|
},
|
||||||
openpreview: function() {
|
openpreview: function() {
|
||||||
if (pandora.isVideoView()) {
|
// ..
|
||||||
pandora.$ui[pandora.user.ui.itemView].gainFocus().triggerEvent('key_space');
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
select: function(data) {
|
select: function(data) {
|
||||||
data.ids.length && pandora.UI.set({
|
data.ids.length && pandora.UI.set({
|
||||||
|
|
Loading…
Reference in a new issue