]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1775719 Modify array check for Phantomjs; reduce logging;
authorBill Erickson <berickxx@gmail.com>
Thu, 9 Aug 2018 14:20:54 +0000 (10:20 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 10 Aug 2018 15:20:10 +0000 (11:20 -0400)
commit273458c51cd9b0ba12085ac0f0062fd5d395de40
treecc24ece3bcb721c2e8a0cbf23bd1998c2fcb2cc3
parent9b0fa1aab258395e70123b4e82c4cedb9895b27f
LP#1775719 Modify array check for Phantomjs; reduce logging;

PhantomJS doesn't support the handy [1,2,3].includes(1) function, so
replace it with the tried-and-true indexOf();

Avoid logging errors on failure to connect to the shared offline worker
when running within phantomjs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/services/lovefield.js