-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Console: Fix sidebar not showing results of manual update check
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* @license http://creativecommons.org/publicdomain/zero/1.0/legalcode CC0-1.0 */ | ||
|
||
// This component is dedicated to the public domain. It uses the CC0 | ||
// as a formal dedication to the public domain and in circumstances where | ||
// a public domain is not usable. | ||
|
||
// reload the sidebar after a POST, because the form handling happens | ||
// while the page is rendering | ||
|
||
function reloadSidebarOnce() | ||
{ | ||
ajax("/xhr1.jsp?requestURI=/configupdate", "xhr", 0); | ||
} | ||
|
||
document.addEventListener("DOMContentLoaded", function() { | ||
reloadSidebarOnce(); | ||
}, true); | ||
|
||
/* @license-end */ |