diff --git a/pandora/0xdb.json b/pandora/0xdb.json index 1541a8a7..c8f3b528 100644 --- a/pandora/0xdb.json +++ b/pandora/0xdb.json @@ -16,6 +16,7 @@ { "id": "all", "title": "All", + "type": "string", "find": true }, { diff --git a/static/js/pandora/ui/contentPanel.js b/static/js/pandora/ui/contentPanel.js index 23b1e05e..22dd0b72 100644 --- a/static/js/pandora/ui/contentPanel.js +++ b/static/js/pandora/ui/contentPanel.js @@ -25,7 +25,7 @@ pandora.ui.contentPanel = function() { } ], orientation: 'vertical' - }) + }); return that; }; diff --git a/static/js/pandora/ui/findElement.js b/static/js/pandora/ui/findElement.js index 53d237ef..a0e9c408 100644 --- a/static/js/pandora/ui/findElement.js +++ b/static/js/pandora/ui/findElement.js @@ -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'); diff --git a/static/js/pandora/ui/item.js b/static/js/pandora/ui/item.js index a27898b3..eaeb4f43 100644 --- a/static/js/pandora/ui/item.js +++ b/static/js/pandora/ui/item.js @@ -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];