Bugzilla – Attachment 105842 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.00 KB, created by
Jonathan Druart
on 2020-06-12 15:21:00 UTC
(
hide
)
Description:
Bug 25728: Don't explode if no CAN_* var defined
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-06-12 15:21:00 UTC
Size:
1.00 KB
patch
obsolete
>From 17300df1f36ef16de1facbc8333ed9c43a5d3a60 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 >--- > 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.20.1
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