Fixed some issues
authorAlexander Ebert <ebert@woltlab.com>
Tue, 19 May 2015 16:41:02 +0000 (18:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 19 May 2015 16:41:02 +0000 (18:41 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ajax.js

index ffb37e5865550285ede4f66efec4adead1c83268..08dc9b8069ecdfbed6a61ac619d30f45bdb8f848 100644 (file)
@@ -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 = '<div class="ajaxDebugMessage"><p>' + message + '</p>' + details + '</div>';
                                
-                               UIDialog.open(DOMUtil.getUniqueId(), message, {
+                               UIDialog.open(DOMUtil.getUniqueId(), html, {
                                        title: Language.get('wcf.global.error.title')
                                });
                        }