From cd6d9351deb32fc771890b55bc79b8f72e538f8e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 10 Oct 2014 11:56:05 +0200 Subject: [PATCH] Fixed a few minor issues --- wcfsetup/install/files/js/WCF.Comment.js | 2 +- wcfsetup/install/files/js/WCF.Message.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1