forked from 0x2620/pandora
some improvements when editing metadata
This commit is contained in:
parent
408af96aa2
commit
c6093f9cdf
1 changed files with 22 additions and 20 deletions
|
@ -458,6 +458,7 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
|
||||
function editMetadata(key, value) {
|
||||
if (value != data[key]) {
|
||||
var edit = {id: data.id};
|
||||
if (key == 'title') {
|
||||
Ox.extend(edit, parseTitle(value));
|
||||
|
@ -480,6 +481,7 @@ pandora.ui.infoView = function(data) {
|
|||
//pandora.$ui.contentPanel.replaceElement(0, pandora.$ui.browser = pandora.ui.browser());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function formatKey(key, isStatistics) {
|
||||
return isStatistics
|
||||
|
|
Loading…
Reference in a new issue