Quellcode durchsuchen

Remove params from URL after loading admin panel

This ensures that refreshing the page doesn't include any past success /
failure messages.
tags/v0.5.0
Matt Baer vor 5 Jahren
Ursprung
Commit
573ce02739
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. +4
    -0
      templates/user/admin.tmpl

+ 4
- 0
templates/user/admin.tmpl Datei anzeigen

@@ -183,6 +183,10 @@ function savePage(el) {
</div>
</div>

<script>
history.replaceState(null, "", "/admin"+window.location.hash);
</script>

{{template "footer" .}}

{{template "body-end" .}}


Laden…
Abbrechen
Speichern