From 14b08cf87d0263f09b9774e1949caea893d586ca Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 29 Sep 2020 14:55:26 +0200 Subject: [PATCH] recherche --- app/views/layouts/admin.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 6595c56..fa73706 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -312,3 +312,11 @@ + :javascript + $('.qi_search_row form input').keypress(function (e) { + if (e.which == 13) { + $(this).closest('form').submit(); + + return false; //<---- Add this line + } + }); \ No newline at end of file