From 6a96249e24de1037d513721c21273e13e1870ebf Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sat, 9 Sep 2017 15:54:10 +0200 Subject: [ticket/15149] Fix Ctrl+Submit action on posting PHPBB3-15149 --- phpBB/assets/javascript/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/assets') diff --git a/phpBB/assets/javascript/editor.js b/phpBB/assets/javascript/editor.js index 332ab42e37..23244f5a40 100644 --- a/phpBB/assets/javascript/editor.js +++ b/phpBB/assets/javascript/editor.js @@ -417,7 +417,7 @@ function getCaretPosition(txtarea) { $('textarea').on('keydown', function (e) { if (e.which === 13 && (e.metaKey || e.ctrlKey)) { - $(this).closest('form').submit(); + $(this).closest('form').find(':submit').click(); } }); }); -- cgit v1.2.1