@@ -, +, @@ delete - Fixes page structure in 2 spots. Without the patch the second problem was manifesting in a display problem with the right side tool navigation. - Adds a specific 'Are you sure you want to...' question instead of reusing the one for authorised values also for categories. --- .../intranet-tmpl/prog/en/modules/admin/authorised_values.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -29,6 +29,9 @@ $("a.delete").click(function(){ return confirm(_("Are you sure you want to delete this authorized value?")); }); + $("a.delete_category").click(function(){ + return confirm(_("Are you sure you want to delete this authorized value category?")); + }); }); //]]> @@ -216,6 +219,7 @@ $(document).ready(function() { [% END %] [% END %] + [% IF ( category == 'Bsort1' ) %] @@ -302,11 +306,9 @@ $(document).ready(function() { [% ELSE %]
There are no authorized values defined for [% category %] [% IF deletable %] - Delete category + Delete category [% END %]
- - [% END %] [% IF ( isprevpage ) %] --