Return value for keydown was missing
authorAlexander Ebert <ebert@woltlab.com>
Wed, 7 Sep 2016 15:19:28 +0000 (17:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 7 Sep 2016 15:19:28 +0000 (17:19 +0200)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js

index c2c6b35f547b44ecb11e3cac2ad29c868385806c..06572bc74f5f0549953a4f246514898b103da5ce 100644 (file)
@@ -121,9 +121,11 @@ $.Redactor.prototype.WoltLabKeydown = function() {
                                var isBlockquote = this.keydown.blockquote;
                                if (isBlockquote) this.keydown.blockquote = false;
                                
-                               mpOnEnter.call(this, e);
+                               var returnValue = mpOnEnter.call(this, e);
                                
                                if (isBlockquote) this.keydown.blockquote = isBlockquote;
+                               
+                               return returnValue;
                        }).bind(this);
                        
                        this.keydown.replaceToParagraph = (function(tag) {