pad_impexp: close modal on succesful import

This commit is contained in:
John McLear 2020-04-21 15:03:09 +00:00
parent de09b9a410
commit 09ddfb9e20

View file

@ -248,10 +248,15 @@ var padimpexp = (function()
{
importFailed(status);
}
else
{
$('#import_export').removeClass('popup-show');
}
if (directDatabaseAccess) {
// Switch to the pad without redrawing the page
pad.switchToPad(clientVars.padId);
$('#import_export').removeClass('popup-show');
}
importDone();