Fix timezone loading in time config page (#1211)

* Fix an issue where CTF times could not be displayed in the admin panel because timezones weren't available
bulk-clear-sessions
Kevin Chung 2020-01-09 18:41:41 -05:00 committed by GitHub
parent d30bd182d2
commit d37805b6fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -233,6 +233,10 @@ function insertTimezones(target) {
}
$(() => {
insertTimezones($("#start-timezone"));
insertTimezones($("#end-timezone"));
insertTimezones($("#freeze-timezone"));
$(".config-section > form:not(.form-upload)").submit(updateConfigs);
$("#logo-upload").submit(uploadLogo);
$("#remove-logo").click(removeLogo);
@ -291,8 +295,4 @@ $(() => {
$("#mail_username_password").toggle(this.checked);
})
.change();
insertTimezones($("#start-timezone"));
insertTimezones($("#end-timezone"));
insertTimezones($("#freeze-timezone"));
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long