From: Alexander Ebert Date: Tue, 14 Apr 2015 11:01:22 +0000 (+0200) Subject: Prevent form submit if Alt Gr is pressed X-Git-Tag: 2.1.3~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f20c9c2215c86ec6209ec5bf94aca9a1f66f2a60;p=GitHub%2FWoltLab%2FWCF.git Prevent form submit if Alt Gr is pressed --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index efd19aa803..25ae977797 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1843,7 +1843,7 @@ RedactorPlugins.wbbcode = function() { $submitEditor = true; } } - else if (data.event.altKey) { + else if (data.event.altKey && !data.event.ctrlKey) { $submitEditor = true; }