Error in console: Uncaught TypeError: settings.jqXHR.responseJSON is undefined
Created attachment 146362 [details] [review] 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
I'm not sure how to reproduce this or if this is the 'right' fix but it doesn't seem harmful.
Created attachment 146418 [details] [review] 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>
Trivial, skipping QA.
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Not needed in 22.05.x, no backport.