Bugzilla – Attachment 113792 Details for
Bug 27016
Make the pickup locations dropdowns use Select2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27016: (QA follow-up) Move allowClear out of ajax
Bug-27016-QA-follow-up-Move-allowClear-out-of-ajax.patch (text/plain), 1.20 KB, created by
Nick Clemens (kidclamp)
on 2020-11-18 15:49:18 UTC
(
hide
)
Description:
Bug 27016: (QA follow-up) Move allowClear out of ajax
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-11-18 15:49:18 UTC
Size:
1.20 KB
patch
obsolete
>From 30caaafa62531b1f00643397c45ef1d52c2b3fdf Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 18 Nov 2020 15:48:13 +0000 >Subject: [PATCH] Bug 27016: (QA follow-up) Move allowClear out of ajax > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 95f55fd960..2140eef611 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -1158,9 +1158,9 @@ > var hold_id = $(this).data('hold_id'); > > this_dropdown.select2({ >+ allowClear: false, > ajax: { > url: '/api/v1/holds/' + encodeURIComponent(hold_id) + '/pickup_locations', >- allowClear: false, > delay: 300, // wait 300 milliseconds before triggering the request > dataType: 'json', > data: function (params) { >-- >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 27016
:
113738
|
113740
|
113760
|
113791
| 113792 |
114807