fix media view
This commit is contained in:
parent
c1da3241c1
commit
790b08ce77
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ pandora.ui.mediaView = function(options) {
|
|||
self = {},
|
||||
keys = ['title', 'director', 'year', 'id'],
|
||||
listKeys = keys.filter(function(key) {
|
||||
return Ox.isArray(Ox.getObjectById(pandora.site.itemKeys, key).type);
|
||||
var itemKey = Ox.getObjectById(pandora.site.itemKeys, key)
|
||||
return itemKey ? Ox.isArray(itemKey.type) : false;
|
||||
}),
|
||||
that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
|
|
Loading…
Reference in a new issue