Incorrect handling of submit buttons for comments/responses
authorAlexander Ebert <ebert@woltlab.com>
Sat, 22 Feb 2020 16:06:34 +0000 (17:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 22 Feb 2020 16:06:34 +0000 (17:06 +0100)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeydown.js

index 1592e4cf079cb392a1e4aabe8c6ab259c7311a97..bde59b4173c7a316c0b424e3d4afb6a2832983d8 100644 (file)
@@ -586,7 +586,7 @@ $.Redactor.prototype.WoltLabKeydown = function() {
                                        return;
                                }
                                
-                               var container = this.$editor[0].closest('form, .message');
+                               var container = this.$editor[0].closest('form, .message, .jsOuterEditorContainer');
                                if (container === null) return;
                                
                                var formSubmit = elBySel('.formSubmit', container);