From 6d5ca9969e254adffe90cfdedcdb07e601a005c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Tue, 29 Oct 2013 17:56:29 +0100 Subject: [PATCH] // js error --- admin-dev/themes/default/template/toolbar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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