From 09ddfb9e20f21872b1c99dbdac2ce9a2659d6129 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 21 Apr 2020 15:03:09 +0000 Subject: [PATCH] pad_impexp: close modal on succesful import --- src/static/js/pad_impexp.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/static/js/pad_impexp.js b/src/static/js/pad_impexp.js index a72c42bba..ac4982102 100644 --- a/src/static/js/pad_impexp.js +++ b/src/static/js/pad_impexp.js @@ -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();