Fixed a few minor issues
authorAlexander Ebert <ebert@woltlab.com>
Fri, 10 Oct 2014 09:56:05 +0000 (11:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 10 Oct 2014 09:56:05 +0000 (11:56 +0200)
wcfsetup/install/files/js/WCF.Comment.js
wcfsetup/install/files/js/WCF.Message.js

index a15afd4e7d72be5f1a54c2ed6c1df76649307d47..11d90fb0da039eaf09774a02487844b17e0b3338 100644 (file)
@@ -247,7 +247,7 @@ WCF.Comment.Handler = Class.extend({
                        var $insertAfter = $comment.find('ul.commentResponseList');
                        if (!$insertAfter.length) $insertAfter = $comment.find('.commentContent');
                        
-                       $container = $('<div class="commentOptionContainer" />').hide().insertAfter($insertAfter);
+                       var $container = $('<div class="commentOptionContainer" />').hide().insertAfter($insertAfter);
                        self._commentButtonList[$commentID] = $('<ul />').appendTo($container);
                        
                        self._handleLoadNextResponses($commentID);
index a635284fac8d5fa78dbf2e91a7598fd6eaa19089..2b99cc3e0ca003727c3e8c116f644fd7ad9d9e44 100644 (file)
@@ -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;