Bug 27864: Correct dropdown size
This patch makes the dropdown width inherit the existing style. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
fd5e603c3d
commit
1531607233
1 changed files with 1 additions and 0 deletions
|
@ -1244,6 +1244,7 @@
|
|||
var biblio_id = $(this).data('biblio-id');
|
||||
|
||||
this_dropdown.select2({
|
||||
width: 'style',
|
||||
allowClear: false,
|
||||
ajax: {
|
||||
url: '/api/v1/biblios/' + encodeURIComponent(biblio_id) + '/pickup_locations',
|
||||
|
|
Loading…
Reference in a new issue