LP1864056: Don't compare multiple new Date()s user/jboyer/lp1864056_reuse_dates
authorJason Boyer <JBoyer@eoli.info>
Fri, 21 Feb 2020 21:08:36 +0000 (16:08 -0500)
committerJason Boyer <JBoyer@eoli.info>
Fri, 21 Feb 2020 21:08:36 +0000 (16:08 -0500)
commit6ce5e88809d875ee3b3322edc4654d3f3bcc01be
tree0526f56f5e530d97bff2d3e47fa92c5e8254daa7
parent4340cf61c3310c45368e250537126383f8c172aa
LP1864056: Don't compare multiple new Date()s

This branch addresses a race condition when
checking out or renewing items.
(The use of minDate in items_out was implicitly
immune to this issue, but that is made explicit
with this patch.)

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
Open-ILS/web/js/ui/default/staff/circ/renew/app.js