Bug 26098: Fix JS error on the fund list view when no fund displayed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 08:51:26 +0000 (10:51 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 16 Aug 2020 22:26:29 +0000 (10:26 +1200)
commitb24d51eccdb553076c2216d35d873f93ba38f28e
tree2e1fdf5a2697b157c672f6a3b9ddc4267b00e7b2
parentbfb076327c1d722701ce111d175c8c5fa56a26aa
Bug 26098: Fix JS error on the fund list view when no fund displayed

TypeError: this.data(...) is undefined
in jquery.treetable.js

Test plan:
Go to the fund list view
Select a filter that will return no result
=> With this patch applied there is no JS error in the console

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b6cb3c2ba54c0e10c27f37a0d2dec4f2875f2ddd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 052d5d5568190396d096df528bdc5aed7558e38c)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt