From: Alexander Ebert Date: Fri, 10 Oct 2014 09:56:05 +0000 (+0200) Subject: Fixed a few minor issues X-Git-Tag: 2.1.0_Alpha_1~244 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cd6d9351deb32fc771890b55bc79b8f72e538f8e;p=GitHub%2FWoltLab%2FWCF.git Fixed a few minor issues --- diff --git a/wcfsetup/install/files/js/WCF.Comment.js b/wcfsetup/install/files/js/WCF.Comment.js index a15afd4e7d..11d90fb0da 100644 --- a/wcfsetup/install/files/js/WCF.Comment.js +++ b/wcfsetup/install/files/js/WCF.Comment.js @@ -247,7 +247,7 @@ WCF.Comment.Handler = Class.extend({ var $insertAfter = $comment.find('ul.commentResponseList'); if (!$insertAfter.length) $insertAfter = $comment.find('.commentContent'); - $container = $('
').hide().insertAfter($insertAfter); + var $container = $('
').hide().insertAfter($insertAfter); self._commentButtonList[$commentID] = $('
    ').appendTo($container); self._handleLoadNextResponses($commentID); diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index a635284fac..2b99cc3e0c 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -392,7 +392,7 @@ WCF.Message.Preview = Class.extend({ return this._messageField.val(); } else if (this._messageField.data('redactor')) { - return this._messageField.redactor('getText'); + return this._messageField.redactor('wutil.getText'); } return null;