fix reset after metadata reload
This commit is contained in:
parent
735674982f
commit
6d49f0483b
1 changed files with 1 additions and 1 deletions
|
@ -237,12 +237,12 @@ oml.ui.identifyDialog = function(data) {
|
||||||
$metadataSelect.value() == 'original'
|
$metadataSelect.value() == 'original'
|
||||||
? oml.api.resetMetadata : Ox.noop
|
? oml.api.resetMetadata : Ox.noop
|
||||||
)({id: ui.item}, function(result) {
|
)({id: ui.item}, function(result) {
|
||||||
that.close();
|
|
||||||
Ox.Request.clearCache('find');
|
Ox.Request.clearCache('find');
|
||||||
oml.$ui.browser.reloadList(true);
|
oml.$ui.browser.reloadList(true);
|
||||||
oml.$ui.list.reloadList(true);
|
oml.$ui.list.reloadList(true);
|
||||||
Ox.Request.clearCache(data.id);
|
Ox.Request.clearCache(data.id);
|
||||||
oml.$ui.infoView.updateElement(data.id);
|
oml.$ui.infoView.updateElement(data.id);
|
||||||
|
that.close();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue