LP#1755220: Return value checking in offline session fetch user/miker/lp-1755220-offline-patron-reg-loading
authorMike Rylander <mrylander@gmail.com>
Fri, 4 May 2018 13:58:53 +0000 (09:58 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 4 May 2018 13:58:53 +0000 (09:58 -0400)
commit30dfb8a37b2f86c6308187a3041b93ed529e4eb8
tree80c84610762d0996670a7bb0456d2f26b622f6fe
parent893e739d4d7a6fb4eb34f0ed26390b62ab3b59a2
LP#1755220: Return value checking in offline session fetch

We need to make sure that we receive the correct shape of data (array) rather
than that we simply got anything when fetching sessions.  In the case of an
expired session token, we'll receive an ILS Event object informing us of the
expiration where we'd normally see a list of sessions.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/offline.js