From: Alexander Ebert Date: Wed, 28 Oct 2020 18:55:46 +0000 (+0100) Subject: Incorrect property name X-Git-Tag: 5.4.0_Alpha_1~696 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae0d4d8d0afd5231984cb2e2208acdbf543e1755;p=GitHub%2FWoltLab%2FWCF.git Incorrect property name --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Confirmation.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Confirmation.js index 7888f6061c..b800e9b232 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Confirmation.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Confirmation.js @@ -44,7 +44,7 @@ define(["require", "exports", "tslib", "../Core", "../Language", "./Dialog"], fu open(options) { this.parameters = options.parameters || {}; this._content.innerHTML = (typeof options.template === 'string') ? options.template.trim() : ''; - this.text[options.messageIsHtml ? 'innerHtml' : 'textContent'] = options.message; + this.text[options.messageIsHtml ? 'innerHTML' : 'textContent'] = options.message; if (typeof options.legacyCallback === 'function') { this.callbackCancel = parameters => { options.legacyCallback('cancel', parameters, this.content); diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Confirmation.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Confirmation.ts index dd25657125..15359d475a 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Confirmation.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Confirmation.ts @@ -61,7 +61,7 @@ class UiConfirmation implements DialogCallbackObject { this.parameters = options.parameters || {}; this._content.innerHTML = (typeof options.template === 'string') ? options.template.trim() : ''; - this.text[options.messageIsHtml ? 'innerHtml' : 'textContent'] = options.message; + this.text[options.messageIsHtml ? 'innerHTML' : 'textContent'] = options.message; if (typeof options.legacyCallback === 'function') { this.callbackCancel = parameters => {