pad_impexp: close modal on succesful import

pull/3941/head
John McLear 2020-04-21 15:03:09 +00:00
parent de09b9a410
commit 09ddfb9e20
1 changed files with 5 additions and 0 deletions

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();