diff --git a/scripts/pi-hole/js/settings-teleporter.js b/scripts/pi-hole/js/settings-teleporter.js index 884a6f623..f1abc6836 100644 --- a/scripts/pi-hole/js/settings-teleporter.js +++ b/scripts/pi-hole/js/settings-teleporter.js @@ -48,9 +48,7 @@ function importZIP() { if (data.error.hint !== null) $("#modal-import-error-message").text(data.error.hint); } else if ("files" in data) { $("#modal-import-success").show(); - $("#modal-import-success-title").text( - "Import successful, please run pihole -g to update gravity." - ); + $("#modal-import-success-title").text("Import successful"); var text = "

Processed files:

"; $("#modal-import-success-message").html(text); + $("#modal-import-gravity").show(); } if ("took" in data) { diff --git a/settings-teleporter.lp b/settings-teleporter.lp index 1edf02ee6..2acd73723 100644 --- a/settings-teleporter.lp +++ b/settings-teleporter.lp @@ -76,6 +76,12 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r') +