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>
Sun, 22 May 2016 05:09:18 +0000 (01:09 -0400)
commit90a576f86f49aa0aa4ff41fcc874288126e9de45
tree0f40c414c6d0359af591b0e74930e23d70a3c0d7
parent7fd49184b7faf17171cf629034f17eebbd083887
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