cleanup 0xdb info view

This commit is contained in:
rolux 2013-02-25 15:51:29 +05:30
parent 029a92983d
commit bdf19b222a

View file

@ -610,12 +610,7 @@ pandora.ui.infoView = function(data) {
// FIXME: does this update selected? // FIXME: does this update selected?
} }
pandora.updateItemContext(); pandora.updateItemContext();
// FIXME: value function should accept {k: v, ...} pandora.$ui.browser.value(result.data.id, key, result.data[key]);
pandora.$ui.browser.value(result.data.id, 'title', result.data.title);
pandora.$ui.browser.value(result.data.id, 'director', result.data.director);
pandora.$ui.browser.value(result.data.id, 'country', result.data.country);
pandora.$ui.browser.value(result.data.id, 'year', result.data.year);
//pandora.$ui.contentPanel.replaceElement(0, pandora.$ui.browser = pandora.ui.browser());
}); });
} }
} }