From 49a34226196cd2df7892766532c6a694429f290b Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 3 May 2010 15:36:46 +0000 Subject: [PATCH] backporting 16376: fixed bug where updating the email address resulted in updating the username instead of the email address on the local copy of the user object in the opac. this bug likely affected nothing. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@16377 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/myopac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/myopac.js b/Open-ILS/web/opac/skin/default/js/myopac.js index ca8d38e5ec..414655e028 100644 --- a/Open-ILS/web/opac/skin/default/js/myopac.js +++ b/Open-ILS/web/opac/skin/default/js/myopac.js @@ -1096,7 +1096,7 @@ function myOPACUpdateEmail() { var req = new Request(UPDATE_EMAIL, G.user.session, email ); req.send(true); if(req.result()) { - G.user.usrname(email); + G.user.email(email); hideMe($('myopac_update_email_row')); userShown = false; alertId('myopac_email_success'); -- 2.11.0