LP#1755220: Return value checking in offline session fetch
authorMike Rylander <mrylander@gmail.com>
Fri, 4 May 2018 13:58:53 +0000 (09:58 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 24 May 2018 19:41:35 +0000 (15:41 -0400)
commit1ed3e20ba6884c38a0297ea6646746ebfa44ffb8
tree9ba87748cae94e444f0d41c549f64cf2d2cac88b
parent41fd8d996f9e8be253f9928ac7575e261d41d2ff
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>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/web/js/ui/default/staff/offline.js