From c46dc0fadca08721b7e3e2909c1bbb13a8061ffe Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 3 Mar 2020 00:04:36 -0300 Subject: [PATCH] Bug 23975: (QA follow-up) Search button style and functionality This patch makes the search form button match the other buttons style, and also adds the submit() action on click. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- .../prog/en/modules/plugins/plugins-home.tt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt index a8ecfed56d..243d4da885 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -41,11 +41,13 @@
-
+
-
+
+ +
@@ -201,6 +203,10 @@ var plugin_name = $(this).data("plugin-name"); return confirmDelete( _("Are you sure you want to uninstall the plugin %s?").format( plugin_name ) ); }); + + $("#plugin-search-button").on("click", function(){ + $("#plugin-search-form").submit(); + }); }); [% END %] -- 2.39.5