1
0
mirror of synced 2025-02-16 20:13:16 +03:00

fix #1425 ctrl+enter should not open

This commit is contained in:
Igor Vaynberg 2013-06-19 22:49:35 -07:00
parent ce67f7b7fb
commit 3ab1aafae5

View File

@ -1909,6 +1909,9 @@ the specific language governing permissions and limitations under the Apache Lic
if (e.which == KEY.DOWN || e.which == KEY.UP
|| (e.which == KEY.ENTER && this.opts.openOnEnter)) {
if (e.altKey || e.ctrlKey || e.shiftKey || e.metaKey) return;
this.open();
killEvent(e);
return;