Bugzilla – Attachment 108928 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 explode if no CAN_* var defined
Bug-25728-Dont-explode-if-no-CAN-var-defined.patch (text/plain), 1.10 KB, created by
Katrin Fischer
on 2020-08-22 13:05:58 UTC
(
hide
)
Description:
Bug 25728: Don't explode if no CAN_* var defined
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-08-22 13:05:58 UTC
Size:
1.10 KB
patch
obsolete
>From cb8ff2632cd039caab2688daad29d7de6fe094b0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 9 Jun 2020 18:02:14 +0200 >Subject: [PATCH] Bug 25728: Don't explode if no CAN_* var defined > >Sponsored-by: Orex Digital > >Signed-off-by: Hugo Agud <hagud@orex.es> > >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 6e0adb01cf..cc52385347 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -89,7 +89,7 @@ var Select2Utils = { > > initSelect2: function(selects) { > if ($.fn.select2) { >- if ( ! CAN_user_parameters_manage_auth_values ) { >+ if ( window.CAN_user_parameters_manage_auth_values === undefined || ! CAN_user_parameters_manage_auth_values ) { > $(selects).select2(); > } else { > $(selects).select2({ >-- >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