forked from 0x2620/pandora
update item context on edit metadata
This commit is contained in:
parent
c0e85fdbe8
commit
16162505ed
2 changed files with 2 additions and 0 deletions
|
@ -423,6 +423,7 @@ pandora.ui.infoView = function(data) {
|
|||
pandora.UI.set({item: result.data.id});
|
||||
pandora.$ui.browser.value(data.id, 'id', result.data.id);
|
||||
}
|
||||
pandora.updateItemContext();
|
||||
// FIXME: value function should accept {k: v, ...}
|
||||
pandora.$ui.browser.value(result.data.id, 'title', result.data.title);
|
||||
pandora.$ui.browser.value(result.data.id, 'director', result.data.director);
|
||||
|
|
|
@ -557,6 +557,7 @@ pandora.ui.infoView = function(data) {
|
|||
pandora.UI.set({item: result.data.id});
|
||||
pandora.$ui.browser.value(data.id, 'id', result.data.id);
|
||||
}
|
||||
pandora.updateItemContext();
|
||||
// FIXME: value function should accept {k: v, ...}
|
||||
pandora.$ui.browser.value(result.data.id, 'title', result.data.title);
|
||||
pandora.$ui.browser.value(result.data.id, 'director', result.data.director);
|
||||
|
|
Loading…
Reference in a new issue