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