// js error

This commit is contained in:
Rémi Gaillard
2013-10-29 17:56:29 +01:00
parent 90bef56c84
commit 6d5ca9969e

View File

@@ -87,7 +87,7 @@
btn_submit.hide();
//bind enter key press to validate form
$('#{$table}_form').keypress(function (e) {
if (e.which == 13 && e.target.localName != 'textarea' && !e.target.hasClass('tagify')))
if (e.which == 13 && e.target.localName != 'textarea' && !e.target.hasClass('tagify'))
$('#desc-{$table}-save').click();
});
//submit the form