Bugzilla – Attachment 66024 Details for
Bug 17355
Authorised value categories cannot be deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17355 - Follow-up - Fix page structure and alert on delete
Bug-17355---Follow-up---Fix-page-structure-and-ale.patch (text/plain), 2.13 KB, created by
Katrin Fischer
on 2017-08-15 15:44:40 UTC
(
hide
)
Description:
Bug 17355 - Follow-up - Fix page structure and alert on delete
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2017-08-15 15:44:40 UTC
Size:
2.13 KB
patch
obsolete
>From 06bf08d9f5b18f456739770e848207038ff4bb37 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Tue, 15 Aug 2017 17:41:31 +0200 >Subject: [PATCH] Bug 17355 - Follow-up - Fix page structure and alert on > 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(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >index d7ffabc..c136e61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >+++ b/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?")); >+ }); > }); > //]]> > </script> >@@ -216,6 +219,7 @@ $(document).ready(function() { > <option value="[% c %]">[% c %]</option> > [% END %] > [% END %] >+ </select> > <input type="submit" value="Submit" /> > </form> > [% IF ( category == 'Bsort1' ) %] >@@ -302,11 +306,9 @@ $(document).ready(function() { > </tbody></table>[% ELSE %] > <div class="dialog message">There are no authorized values defined for [% category %] > [% IF deletable %] >- <a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=del_category&category=[% searchfield %]"><i class="fa fa-trash"></i> Delete category</a> >+ <a class="delete_category btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=del_category&category=[% searchfield %]"><i class="fa fa-trash"></i> Delete category</a> > [% END %]</div> >-</td> > >-</div> > [% END %] > > [% IF ( isprevpage ) %] >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17355
:
64102
|
65782
|
65869
|
65870
|
66022
|
66023
|
66024
|
103833
|
103834
|
103835
|
103836
|
103837
|
103838
|
104099
|
104100
|
104101
|
104102
|
104103
|
104104
|
104117
|
104118
|
104119
|
104120
|
104121
|
104122
|
104123
|
104352
|
104539