From: Matthias Schmidt Date: Tue, 18 Aug 2015 18:08:49 +0000 (+0200) Subject: Fix showing AJAX request error in dialog X-Git-Tag: 3.0.0_Beta_1~2131 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eae3eb79d5950b2b1f05f6df0e3a53bc5980f0e0;p=GitHub%2FWoltLab%2FWCF.git Fix showing AJAX request error in dialog --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js b/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js index b9d0c42587..675c8cfd32 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js @@ -270,6 +270,7 @@ define(['Core', 'Language', 'Dom/ChangeListener', 'Dom/Util', 'Ui/Dialog', 'Wolt var html = '

' + message + '

' + details + '
'; + if (UiDialog === undefined) UiDialog = require('Ui/Dialog'); UiDialog.openStatic(DomUtil.getUniqueId(), html, { title: Language.get('wcf.global.error.title') });