Bugzilla – Attachment 63288 Details for
Bug 18125
Edit button can duplicate some circulation rule
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Disabled the select for patron Category and Item Type
SIGNED-OFF-Disabled-the-select-for-patron-Category.patch (text/plain), 1.40 KB, created by
Owen Leonard
on 2017-05-09 13:31:05 UTC
(
hide
)
Description:
[SIGNED-OFF] Disabled the select for patron Category and Item Type
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-05-09 13:31:05 UTC
Size:
1.40 KB
patch
obsolete
>From 708d6507b027c45bc63da1bc3ab577093c66977c Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Thu, 16 Feb 2017 11:37:53 +0000 >Subject: [PATCH] [SIGNED-OFF] Disabled the select for patron Category and Item > Type > >Test plan >1 - Edit a circulation rule and check you can modify the patron Category and item type >2 - Apply patch >3 - Edit a circulation rule : you can't change anymore > >https://bugs.koha-community.org/show_bug.cgi?id=18125 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index 0283d80..2950b13 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -84,6 +84,7 @@ $(document).ready(function() { > if ( i == 1 ) { > name="itemtype"; > } >+ $(current_column).find("select").prop('disabled', true); > // Remove potential previous input added > $(current_column).find("input").remove(); > $(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); >-- >2.1.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 18125
:
60325
|
60329
| 63288