From 3367132c7fc23af18f4ed7618b67d553f0f83306 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 24 Jun 2015 19:23:46 +0200 Subject: [PATCH] Fixed error message overlay in `AjaxRequest` --- wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js b/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js index cfd81ba508..081863e232 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js @@ -100,7 +100,6 @@ define(['Core', 'Language', 'DOM/ChangeListener', 'DOM/Util', 'UI/Dialog', 'Wolt this._xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); var self = this; - var options = Core.clone(this._options); this._xhr.onload = function() { if (this.readyState === XMLHttpRequest.DONE) { @@ -271,7 +270,7 @@ define(['Core', 'Language', 'DOM/ChangeListener', 'DOM/Util', 'UI/Dialog', 'Wolt var html = '

' + message + '

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