update edit dialog

This commit is contained in:
Rolux 2016-01-05 23:43:35 +05:30
parent 1d7ebde097
commit 3db2418652

View file

@ -107,7 +107,7 @@ oml.ui.editDialog = function() {
}); });
if (isArray) { if (isArray) {
values = values.map(function(value) { values = values.map(function(value) {
return value.join(separator); return (value || []).join(separator);
}); });
} }
data[key] = Ox.unique(values).length == 1 data[key] = Ox.unique(values).length == 1