mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
pad_impexp: close modal on succesful import
This commit is contained in:
parent
de09b9a410
commit
09ddfb9e20
1 changed files with 5 additions and 0 deletions
|
@ -248,10 +248,15 @@ var padimpexp = (function()
|
||||||
{
|
{
|
||||||
importFailed(status);
|
importFailed(status);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$('#import_export').removeClass('popup-show');
|
||||||
|
}
|
||||||
|
|
||||||
if (directDatabaseAccess) {
|
if (directDatabaseAccess) {
|
||||||
// Switch to the pad without redrawing the page
|
// Switch to the pad without redrawing the page
|
||||||
pad.switchToPad(clientVars.padId);
|
pad.switchToPad(clientVars.padId);
|
||||||
|
$('#import_export').removeClass('popup-show');
|
||||||
}
|
}
|
||||||
|
|
||||||
importDone();
|
importDone();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue