diff --git a/static/js/infoView.js b/static/js/infoView.js index e40343b..dbe18b1 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -732,8 +732,9 @@ oml.ui.infoView = function(externalData, isMixed) { edit[key] = key == 'author' ? splitValue(value || [], 'author') : Ox.contains(arrayKeys, key) - ? (value || '').split(separator) + ? value ? value.split(separator) : [] : value; + data[key] = edit[key]; oml.api.edit(edit, function(result) { if (!isMultiple || ui.updateResults) { Ox.Request.clearCache();