update info on edit

This commit is contained in:
Rolux 2016-01-05 23:10:39 +05:30
parent ed17a54b26
commit 21c13aeccb

View file

@ -730,6 +730,10 @@ oml.ui.infoView = function(identifyData) {
edit[key] = value;
}
oml.api.edit(edit, function(result) {
Ox.Request.clearCache();
if (Ox.contains(['title', 'author', 'descriptiopm'], key)) {
oml.$ui.info.updateElement();
}
oml.$ui.browser.value(
result.data.id, key, result.data[key]
);