fix reset after metadata reload

This commit is contained in:
Jan Gerber 2015-04-21 19:57:27 +02:00
parent 735674982f
commit 6d49f0483b

View file

@ -237,12 +237,12 @@ oml.ui.identifyDialog = function(data) {
$metadataSelect.value() == 'original'
? oml.api.resetMetadata : Ox.noop
)({id: ui.item}, function(result) {
that.close();
Ox.Request.clearCache('find');
oml.$ui.browser.reloadList(true);
oml.$ui.list.reloadList(true);
Ox.Request.clearCache(data.id);
oml.$ui.infoView.updateElement(data.id);
that.close();
});
});
}