aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-09-09 15:54:10 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-09-09 15:54:10 +0200
commit6a96249e24de1037d513721c21273e13e1870ebf (patch)
treea1ba715a96a05959971dda8272ce645f973210e5 /phpBB/assets
parent16da17a4ba4b55404dba2b3416d8c62971ba16ca (diff)
downloadforums-6a96249e24de1037d513721c21273e13e1870ebf.tar
forums-6a96249e24de1037d513721c21273e13e1870ebf.tar.gz
forums-6a96249e24de1037d513721c21273e13e1870ebf.tar.bz2
forums-6a96249e24de1037d513721c21273e13e1870ebf.tar.xz
forums-6a96249e24de1037d513721c21273e13e1870ebf.zip
[ticket/15149] Fix Ctrl+Submit action on posting
PHPBB3-15149
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/editor.js2
1 files changed, 1 insertions, 1 deletions
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();
}
});
});