close ipmort/export annotation after action

This commit is contained in:
j 2025-01-23 16:34:31 +05:30
commit e5339fd297
2 changed files with 9 additions and 1 deletions

View file

@ -201,10 +201,11 @@ pandora.ui.importAnnotationsDialog = function(options) {
pandora.$ui.contentPanel.replaceElement(
1, pandora.$ui.item = pandora.ui.item()
);
that.close();
} else {
$status.html(Ox._('Import failed.'));
enableButtons();
}
enableButtons();
});
} else {
$status.html(Ox._('Import failed.'));