Improved server upgrade dialog box.

This commit is contained in:
Ylian Saint-Hilaire 2020-05-13 10:24:34 -07:00
parent 0c3ee32721
commit 1d2382fed3
2 changed files with 644 additions and 640 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8536,6 +8536,8 @@
function server_showVersionDlgUpdate() {
var stableCheck = Q('d2updateCheck1').checked;
var latestCheck = Q('d2updateCheck2').checked;
QE('d2updateCheck1', ((xxdialogTag.stable != "Unknown") && (xxdialogTag.current != xxdialogTag.stable) && (latestCheck == false)));
QE('d2updateCheck2', ((xxdialogTag.latest != "Unknown") && (xxdialogTag.current != xxdialogTag.latest) && (stableCheck == false)));
QE('idx_dlgOkButton', ((stableCheck) && (!latestCheck)) || ((!stableCheck) && (latestCheck)));
}