forked from 0x2620/pandora
cleanup 0xdb info view
This commit is contained in:
parent
029a92983d
commit
bdf19b222a
1 changed files with 1 additions and 6 deletions
|
@ -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());
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue