From fe865d4170b8605e2bd808038a567422cb1af76e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 7 Sep 2016 17:19:28 +0200 Subject: [PATCH] Return value for keydown was missing --- .../files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js index c2c6b35f54..06572bc74f 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js @@ -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) { -- 2.20.1