From: khuckins Date: Thu, 3 Dec 2015 17:02:59 +0000 (-0500) Subject: KMAIN 1938 F8 Action on Patron Registration X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ebc68cc62c87d7dcb47bbfa004c268be4591d025;p=working%2FEvergreen.git KMAIN 1938 F8 Action on Patron Registration Modify the Stash on patron registration in uEditFinishSave(); to set the newly created patron as last_patron. Signed-off-by: khuckins --- diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js index c245310819..62a4a2a611 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -2313,7 +2313,8 @@ function uEditFinishSave(newPatron, doClone) { uEditRefresh(); } - + var data = openils.XUL.getStash(); + data.last_patron = newPatron.id(); uEditRefreshXUL(newPatron); }