This commit is contained in:
j 2011-06-01 15:16:50 +02:00
parent c37d303752
commit 6406a6506c
4 changed files with 4 additions and 3 deletions

View file

@ -16,6 +16,7 @@
{
"id": "all",
"title": "All",
"type": "string",
"find": true
},
{

View file

@ -25,7 +25,7 @@ pandora.ui.contentPanel = function() {
}
],
orientation: 'vertical'
})
});
return that;
};

View file

@ -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');

View file

@ -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];