From 9b7a6ce7249902abfb0c82fb2e5666a20d02bcf6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 19 May 2015 18:41:02 +0200 Subject: [PATCH] Fixed some issues --- wcfsetup/install/files/js/WoltLab/WCF/Ajax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ajax.js b/wcfsetup/install/files/js/WoltLab/WCF/Ajax.js index ffb37e5865..08dc9b8069 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ajax.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ajax.js @@ -91,7 +91,7 @@ define(['Core', 'Language', 'DOM/Util', 'UI/Dialog', 'WoltLab/WCF/Ajax/Status'], }; this._xhr.onerror = function() { self._failure(this); - } + }; if (this._options.type === 'POST') { var data = this._options.data; @@ -208,7 +208,7 @@ define(['Core', 'Language', 'DOM/Util', 'UI/Dialog', 'WoltLab/WCF/Ajax/Status'], var html = '

' + message + '

' + details + '
'; - UIDialog.open(DOMUtil.getUniqueId(), message, { + UIDialog.open(DOMUtil.getUniqueId(), html, { title: Language.get('wcf.global.error.title') }); } -- 2.20.1