##// END OF EJS Templates
Fixed submitting form by hotkey in Chrome
bodqhrohro -
r1577:dcc73245 default
parent child Browse files
Show More
@@ -23,7 +23,7 b" var ITEM_FILE_SOURCE = 'fileSource';"
23 23
24 24 var form = $('#form');
25 25 $('textarea').keypress(function(event) {
26 if (event.which == 13 && event.ctrlKey) {
26 if ((event.which == 10 || event.which == 13) && event.ctrlKey) {
27 27 form.find('input[type=submit]').click();
28 28 }
29 29 });
General Comments 0
You need to be logged in to leave comments. Login now