From: Alexander Ebert Date: Wed, 24 Jun 2015 17:23:46 +0000 (+0200) Subject: Fixed error message overlay in `AjaxRequest` X-Git-Tag: 3.0.0_Beta_1~2255 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3367132c7fc23af18f4ed7618b67d553f0f83306;p=GitHub%2FWoltLab%2FWCF.git Fixed error message overlay in `AjaxRequest` --- 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') }); }