From 3db2ed465cfa6473d92a9b0837abb2c6df277205 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 17 Mar 2016 23:52:14 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 16098: Making subscription fields actions buttons Content-Type: text/plain; charset="utf-8" To test: 1) Go to Serials -> Add subscription fields 2) Confirm actions "Edit" and "Delete" now show as buttons and work as expected 3) When you make your browser narrow, confirm that the Actions column does not wrap 4) Confirm that you cannot sort on the Actions column Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt index a7f847b..45366f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt @@ -21,6 +21,9 @@ 'aLengthMenu': [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], 'iDisplayLength': 20, 'aaSorting': [[ 0, "asc" ]], + "aoColumnDefs": [ + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, + ] })); $(".confirmdelete").click(function(){ @@ -104,9 +107,9 @@ [% IF field.searchable %]Yes[% ELSE %]No[% END %] - - Edit - Delete + + Edit + Delete [% END %] -- 2.1.4