always update data element on edit

This commit is contained in:
rlx 2016-01-16 13:53:42 +05:30
parent 01a20963c1
commit 9fde49bdce

View file

@ -756,10 +756,7 @@ oml.ui.infoView = function(externalData, isMixed) {
result.data.id, key, result.data[key]
);
}
// FIXME: what is this?
if (Ox.contains(['title', 'author'], key)) {
that.updateElement(result.data, [$data]);
}
that.triggerEvent('change', Ox.extend({}, key, value));
});
}