Koha/koha-tmpl/intranet-tmpl/prog
Martin Renvoize c5a4c193f4 Bug 29397: Add .kohaSelect select2 wrapper function
This patch adds a kohaSelect wrapper function to simplify
paging/infinite scrolling with select2 using the Koha RESTful api's.

Invoke select2 select boxes as you normally would from JS, but instead
of calling .select2(config) use .kohaSelect(config).

If an 'ajax' property is defined in your config object, we wrap the
transport such that responses include a pagination key as expected by
select2.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-21 21:34:51 -10:00
..
css Bug 29552: Compiled CSS 2022-01-13 16:37:33 -10:00
en Bug 29797: Fix display of itemnumbers on the background job detail view 2022-01-21 21:34:51 -10:00
img
js Bug 29397: Add .kohaSelect select2 wrapper function 2022-01-21 21:34:51 -10:00
pdf
sound