diff --git a/admin-dev/themes/default/template/toolbar.tpl b/admin-dev/themes/default/template/toolbar.tpl index a7c27af9d..ebecb244a 100644 --- a/admin-dev/themes/default/template/toolbar.tpl +++ b/admin-dev/themes/default/template/toolbar.tpl @@ -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