Incorrect property name
authorAlexander Ebert <ebert@woltlab.com>
Wed, 28 Oct 2020 18:55:46 +0000 (19:55 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 28 Oct 2020 18:55:46 +0000 (19:55 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Confirmation.js
wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Confirmation.ts

index 7888f6061c01ca2a4d972980c7586e1ea8926f57..b800e9b232ab071df7815533569461562b98596b 100644 (file)
@@ -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);
index dd25657125e2328f84fcd95d73ae4e615289c7db..15359d475a8bede385f12aa508801cee06f520bd 100644 (file)
@@ -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 => {