forked from 0x2620/pandora
find
This commit is contained in:
parent
3b85387481
commit
81cc331aa9
4 changed files with 4 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
|||
{
|
||||
"id": "all",
|
||||
"title": "All",
|
||||
"type": "string",
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ pandora.ui.contentPanel = function() {
|
|||
}
|
||||
],
|
||||
orientation: 'vertical'
|
||||
})
|
||||
});
|
||||
return that;
|
||||
};
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ pandora.ui.findElement = function() {
|
|||
function autocompleteFunction() {
|
||||
return app.user.ui.findQuery.conditions.length ? function(value, callback) {
|
||||
var elementValue = that.value(),
|
||||
key = elementValue[app.user.ui.list ? 1 : 0].id,
|
||||
key = elementValue[app.user.ui.list ? 1 : 0],
|
||||
findKey = Ox.getObjectById(app.ui.findKeys, key);
|
||||
Ox.print('!!!!', key, findKey, 'autocomplete' in findKey && findKey.autocomplete)
|
||||
value === '' && Ox.print('Warning: autocomplete function should never be called with empty value');
|
||||
|
|
|
@ -109,7 +109,7 @@ pandora.ui.item = function() {
|
|||
} else if (app.user.ui.itemView == 'timeline') {
|
||||
var layers = [],
|
||||
video = result.data.stream,
|
||||
cuts = result.data.cuts || {},
|
||||
cuts = result.data.cuts || [],
|
||||
format = $.support.video.supportedFormat(video.formats),
|
||||
streams = {};
|
||||
video.height = video.profiles[0];
|
||||
|
|
Loading…
Reference in a new issue