]> git.koha-community.org Git - koha.git/commit
Bug 32904: Check if responseJSON is defined for dataTable error
authorAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 7 Feb 2023 22:00:18 +0000 (22:00 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 1 Mar 2023 09:50:39 +0000 (09:50 +0000)
commit75621c4d99736752fc24aac6498e5649d7033ade
tree32d02433794087aab3d787c20ea9c9d4b5fb7379
parentdb7de6b9e8de048a656559ae63ba69b56e64d609
Bug 32904: Check if responseJSON is defined for dataTable error

This patch checks if responseJSON is defined before checking if
responseJSON.errors is defined.

Sponsored-by: Education Services Australia SCIS
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bcc1c6c3fd19fe25d00b0fae4862a6b90b215ca5)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js