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",
|
"id": "all",
|
||||||
"title": "All",
|
"title": "All",
|
||||||
|
"type": "string",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,7 @@ pandora.ui.contentPanel = function() {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
})
|
});
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ pandora.ui.findElement = function() {
|
||||||
function autocompleteFunction() {
|
function autocompleteFunction() {
|
||||||
return app.user.ui.findQuery.conditions.length ? function(value, callback) {
|
return app.user.ui.findQuery.conditions.length ? function(value, callback) {
|
||||||
var elementValue = that.value(),
|
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);
|
findKey = Ox.getObjectById(app.ui.findKeys, key);
|
||||||
Ox.print('!!!!', key, findKey, 'autocomplete' in findKey && findKey.autocomplete)
|
Ox.print('!!!!', key, findKey, 'autocomplete' in findKey && findKey.autocomplete)
|
||||||
value === '' && Ox.print('Warning: autocomplete function should never be called with empty value');
|
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') {
|
} else if (app.user.ui.itemView == 'timeline') {
|
||||||
var layers = [],
|
var layers = [],
|
||||||
video = result.data.stream,
|
video = result.data.stream,
|
||||||
cuts = result.data.cuts || {},
|
cuts = result.data.cuts || [],
|
||||||
format = $.support.video.supportedFormat(video.formats),
|
format = $.support.video.supportedFormat(video.formats),
|
||||||
streams = {};
|
streams = {};
|
||||||
video.height = video.profiles[0];
|
video.height = video.profiles[0];
|
||||||
|
|
Loading…
Reference in a new issue