use pandora.site.importMetadata
This commit is contained in:
parent
cad911a807
commit
2869dbafab
2 changed files with 5 additions and 2 deletions
|
|
@ -137,7 +137,8 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
}
|
||||
(isNewItem ? pandora.api.edit : Ox.noop)(Ox.extend(
|
||||
Ox.filter(item, function(value, key) {
|
||||
return key != 'title';
|
||||
return key != 'title' &&
|
||||
Object.keys(pandora.site.importMetadata).indexOf(key) > -1;
|
||||
}),
|
||||
{'id': id}
|
||||
), function(result) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue