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

This commit is contained in:
Jerome Nadaud
2013-10-29 12:07:30 +01:00
parent 580e201c48
commit b605f33359
4 changed files with 24 additions and 12 deletions
@@ -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