[-] BO : FixBug #PSCFV-10866 - Tagify system not working

This commit is contained in:
Jerome Nadaud committed 2013-10-29 12:07:30 +01:00
1 parent 580e201c48
commit b605f33359
4 files changed
+24 -12

No files matched your search

@@ -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')
if (e.which == 13 && e.target.localName != 'textarea' && !e.target.hasClass('tagify')))
$('#desc-{$table}-save').click();
});
//submit the form