Bug 30607: Don't overload our default initComplete
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Apr 2022 11:52:55 +0000 (13:52 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 May 2022 20:33:10 +0000 (10:33 -1000)
commit8fa77733366d2b956608f5459076a668f8c38654
treed5b7cf7f81719eb9cc0362c9e422c141eb0af1e2
parentbda0b1fd03e235bce70759010f6115862900e409
Bug 30607: Don't overload our default initComplete

We want to keep the default initComplete call to add/remove the
'disabled' class on the 'Clear filters' link.

Test plan:
Search for patrons, add something to the general DT search and confirm
that the 'Clear filters' link can be clicked (ie. is not disabled) when
the input field is not empty.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Agree that it does not look very elegant.
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js