See https://www.woltlab.com/community/thread/295831-fehler-beim-update-beta-3-4/
}
if (isValid) {
- const packageUpdateServerID = +this.submitButton.dataset.packageUpdateServerId!;
+ const dialog = document.getElementById("acpUiPackageUpdateManager")!;
+ const submitButton = dialog.querySelector('button[data-type="submit"]') as HTMLElement;
+
+ const packageUpdateServerID = parseInt(submitButton.dataset.packageUpdateServerId!, 10);
const saveCredentials = (document.getElementById("packageUpdateServerSaveCredentials") as HTMLInputElement)
.checked;
Util_1.default.innerError(passwordField, false);
}
if (isValid) {
- const packageUpdateServerID = +this.submitButton.dataset.packageUpdateServerId;
+ const dialog = document.getElementById("acpUiPackageUpdateManager");
+ const submitButton = dialog.querySelector('button[data-type="submit"]');
+ const packageUpdateServerID = parseInt(submitButton.dataset.packageUpdateServerId, 10);
const saveCredentials = document.getElementById("packageUpdateServerSaveCredentials")
.checked;
void this.prepareUpdate({