Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Merge branch 'BlackDex-fix-admin-repost'
Dieser Commit ist enthalten in:
Commit
06189a58fe
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
|
@ -32,7 +32,11 @@
|
||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function reload() { window.location.reload(); }
|
function reload() {
|
||||||
|
// Reload the page by setting the exact same href
|
||||||
|
// Using window.location.reload() could cause a repost.
|
||||||
|
window.location = window.location.href;
|
||||||
|
}
|
||||||
function msg(text, reload_page = true) {
|
function msg(text, reload_page = true) {
|
||||||
text && alert(text);
|
text && alert(text);
|
||||||
reload_page && reload();
|
reload_page && reload();
|
||||||
|
|
Laden …
In neuem Issue referenzieren