]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP#1246859: Improve username flow for staged users
authorJeff Godin <jgodin@tadl.org>
Wed, 30 Oct 2013 20:41:06 +0000 (16:41 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 18 Sep 2014 20:59:40 +0000 (16:59 -0400)
commit62b7ae23be384371412dbe9d9b6d77721ff34ecf
tree65fc9c93ed24a9376336deadf549d618c77ea7c3
parentbdabe1c367859327925a816cef43f5de05faafae
LP#1246859: Improve username flow for staged users

Staged users in most cases have a username that consists of a UUID.

Rather than leave the UUID as their username or require staff to
clear the field and replace it with a barcode or other value, it
would be better to remove this username when loading the staged user
in the user editor.

This commit clears the username when loading a stage user if the
username looks like a UUID.

If a barcode has been staged for the loaded staged user, the
username will be populated with that value.

If there is no staged barcode, the username will remain blank and
will be populated using the standard method after staff enters a
value in the barcode field.

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