fix video icon list openpreview
This commit is contained in:
parent
b7314110a6
commit
524052790c
1 changed files with 5 additions and 6 deletions
|
@ -214,7 +214,11 @@ pandora.ui.list = function() { // fixme: remove view argument
|
|||
},
|
||||
openpreview: function(data) {
|
||||
var $video = $('.OxItem.OxSelected > .OxIcon > .OxVideoPlayer');
|
||||
$video && $video.trigger('mousedown');
|
||||
if ($video) {
|
||||
// trigger singleclick
|
||||
$video.trigger('mousedown');
|
||||
Ox.UI.$window.trigger('mouseup');
|
||||
}
|
||||
$video && Ox.print('OPENPREVIEW!!!@!')
|
||||
that.closePreview();
|
||||
},
|
||||
|
@ -245,11 +249,6 @@ pandora.ui.list = function() { // fixme: remove view argument
|
|||
})
|
||||
})
|
||||
.addClass('OxTarget')
|
||||
.bind({
|
||||
mousedown: function() {
|
||||
Ox.print('MOUSEDOWN...')
|
||||
}
|
||||
})
|
||||
.bindEvent({
|
||||
// doubleclick opens item
|
||||
singleclick: function() {
|
||||
|
|
Loading…
Reference in a new issue