forked from 0x2620/pandora
get key type for each key
This commit is contained in:
parent
8f4bccff65
commit
ae752a9dec
1 changed files with 3 additions and 3 deletions
|
@ -285,9 +285,9 @@ pandora.ui.metadataDialog = function(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateMetadata() {
|
function updateMetadata() {
|
||||||
var edit = {id: data.id},
|
var edit = {id: data.id}, type;
|
||||||
type = Ox.getObjectById(pandora.site.itemKeys, key).type;
|
|
||||||
updateKeys.forEach(function(key) {
|
updateKeys.forEach(function(key) {
|
||||||
|
type = Ox.getObjectById(pandora.site.itemKeys, key).type;
|
||||||
edit[key] = imdb[key] || (
|
edit[key] = imdb[key] || (
|
||||||
Ox.isArray(type) ? [] : ''
|
Ox.isArray(type) ? [] : ''
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue