From eae3eb79d5950b2b1f05f6df0e3a53bc5980f0e0 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 18 Aug 2015 20:08:49 +0200 Subject: [PATCH] Fix showing AJAX request error in dialog --- wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js | 1 + 1 file changed, 1 insertion(+) 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') }); -- 2.20.1