Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
writefreely
/
writefreely
mirror da
https://github.com/writefreely/writefreely.git
Segui
2
Vota
0
Forka
0
Codice
Problemi
Rilasci
25
Wiki
Attività
Sfoglia il codice sorgente
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
5 anni fa
parent
d2f89c6360
commit
573ce02739
1 ha cambiato i file
con
4 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+4
-0
templates/user/admin.tmpl
+ 4
- 0
templates/user/admin.tmpl
Vedi File
@@ -183,6 +183,10 @@ function savePage(el) {
</div>
</div>
<script>
history.replaceState(null, "", "/admin"+window.location.hash);
</script>
{{template "footer" .}}
{{template "body-end" .}}
Scrivi
Anteprima
Caricamento…
Annulla
Salva