Bugzilla – Attachment 108931 Details for
Bug 25728
Add the ability to create a new authorised value within the cataloguing module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25728: Don't prefill av's code
Bug-25728-Dont-prefill-avs-code.patch (text/plain), 1.27 KB, created by
Katrin Fischer
on 2020-08-22 13:06:10 UTC
(
hide
)
Description:
Bug 25728: Don't prefill av's code
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-08-22 13:06:10 UTC
Size:
1.27 KB
patch
obsolete
>From 81ef114494afab9bfb8649e12419c76ea8a71f8e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 22 Aug 2020 14:11:45 +0200 >Subject: [PATCH] Bug 25728: Don't prefill av's code > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index 67eca4fcec..417a78ec6d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -127,7 +127,7 @@ var Select2Utils = { > var category = $(this).data("category"); > $("#avCreate #new_av_category").html(category); > $("#avCreate input[name='category']").val(category); >- $("#avCreate input[name='value']").val(e.params.data.text); >+ $("#avCreate input[name='value']").val(); > $("#avCreate input[name='description']").val(e.params.data.text); > > $(this).val($(this).find("option:first").val()).trigger('change'); >-- >2.11.0
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 25728
:
105837
|
105838
|
105839
|
105840
|
105841
|
105842
|
105852
|
106696
|
106697
|
106698
|
106699
|
106700
|
106701
|
106702
|
108356
|
108357
|
108358
|
108359
|
108360
|
108361
|
108362
|
108883
|
108884
|
108885
|
108886
|
108887
|
108888
|
108889
|
108890
|
108922
|
108923
|
108924
|
108925
|
108926
|
108927
|
108928
|
108929
|
108930
| 108931