]> git.evergreen-ils.org Git - Evergreen.git/commit
Patron Editor can enter erroneous values for Claims-returned count
authorSteven Chan <schan@sitka.bclibraries.ca>
Thu, 23 May 2013 22:22:15 +0000 (15:22 -0700)
committerBen Shum <bshum@biblio.org>
Thu, 11 Jul 2013 14:59:54 +0000 (10:59 -0400)
commiteb0b61fc74a27035237250e8b758ed2d33903d57
treef3d4703a184bc4d11444e81c9a4dd36b96d955eb
parentd6b8a74cfb51bbf84fc2e1d2906d018ccf598f30
Patron Editor can enter erroneous values for Claims-returned count

In the staff client, Patrons interface, Edit screen, when
mouse-scrolling up and down the Edit form, it is possible to
inadvertently change the value in Claims-returned Count or Claims Never
Checked Out Count field.  It will happen if the mouse hovers over either
data field while using the mouse wheel.

Both data fields use the dijit.form.NumberSpinner widget to provide a
'spin' behaviour.  The fix involves cancelling the mouse scroll event as
it propagates to input fields in table rows that are using the
dijit.form.NumberSpinner widget, because the mouse scroll would be
applied too early by the widget, before the user has intentionally
focussed on one of the input fields.  Now, mouse scrolling has no effect
on the two input fields; it will only have an effect in scrolling the
page up or down.

Signed-off-by: Steven Chan <schan@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/default/actor/user/register.js