Bugzilla – Attachment 106701 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.04 KB, created by
Hugo Agud
on 2020-07-09 10:04:50 UTC
(
hide
)
Description:
Bug 25728: Don't explode if no CAN_* var defined
Filename:
MIME Type:
Creator:
Hugo Agud
Created:
2020-07-09 10:04:50 UTC
Size:
1.04 KB
patch
obsolete
>From 8f5262d3ca2d094316e77e57825046d5ce83aad5 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: Your Full Name <your_email> >--- > 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 14371b1c60..fd462b67ed 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