director is array

This commit is contained in:
j 2011-11-22 12:56:09 +01:00
commit 98119eb400
2 changed files with 2 additions and 2 deletions

View file

@ -288,7 +288,7 @@ pandora.ui.filesView = function(options, self) {
Ox.map(['id', 'title', 'director', 'year'], function(key) {
var value = self['$' + key + 'Input'].options('value');
if(value.length) {
conditions[key] = value;
conditions[key] = key == 'director' ? value.split(', ') : value;
}
});
pandora.api.findId(conditions, function(result) {