LP#1640255 Hatch extension ping request
authorBill Erickson <berickxx@gmail.com>
Thu, 17 Nov 2016 20:38:00 +0000 (15:38 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 23 Nov 2016 23:06:01 +0000 (18:06 -0500)
commit71ab57c42240af46e5479632378aeb1fee65f58d
treeb82d9f4573d5f9850ccbb80ca9898e6e320ab366
parentcd62cedadfb8715dae3f99159039a61e2bb3ef09
LP#1640255 Hatch extension ping request

Before opening a port to Hatch, send a simple ping request to confirm
the extension exists.  Opening a port may succeed even if the extension
is not available, whereas this new request will fail immediately,
letting the browser know it can stop trying to talk to Hatch.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/services/hatch.js