From ebc68cc62c87d7dcb47bbfa004c268be4591d025 Mon Sep 17 00:00:00 2001 From: khuckins Date: Thu, 3 Dec 2015 12:02:59 -0500 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/actor/user/register.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.11.0