mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Usermanager: export api keys reload issue on Safari. closes https://github.com/opnsense/core/issues/4706
This probably doesn't win a beauty contest, but it seems like reloading the page instantly causes issues on Safari these days.
This commit is contained in:
parent
91d6fa9dab
commit
73ffa7b1ab
@ -508,9 +508,9 @@ $( document ).ready(function() {
|
||||
|
||||
$('#downloadFile').ready(function() {
|
||||
$('#downloadFile').get(0).click();
|
||||
// reload form after download
|
||||
setTimeout(window.location.reload.bind(window.location), 100);
|
||||
});
|
||||
// reload form
|
||||
location.reload();
|
||||
}
|
||||
},'json');
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user