Enforce valid phone numbers in user settings
authorJeff Godin <jgodin@tadl.org>
Mon, 22 Jun 2015 19:21:09 +0000 (15:21 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 22 Jun 2015 19:21:09 +0000 (15:21 -0400)
commit0004aad44e14d9855170f49f4093cfcd54100732
tree59d849a2ffaaccb56269f435994712a68ca9f8c9
parent523f5c2422d79184877534c609ab63cfcfbab1ce
Enforce valid phone numbers in user settings

Enforce valid phone numbers in user settings by preventing a save of
the user if the widgets are not considered isValid.

Also, since the staff client doesn't seem to style yellow when we're
asking it to, use an alert() for invalid data.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/js/ui/default/actor/user/register.js