dont send [''], make that [];update data to support revert without reload
This commit is contained in:
parent
0afae95e8b
commit
e2b96b6ba2
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue