From: erickson Date: Mon, 3 May 2010 15:34:49 +0000 (+0000) Subject: fixed bug where updating the email address resulted in updating the username instead... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0d60d3321e206aea68bc77a6890a9f89118ed89d;p=evergreen%2Fbjwebb.git 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/trunk@16376 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/myopac.js b/Open-ILS/web/opac/skin/default/js/myopac.js index 132be3088..db04a34a2 100644 --- a/Open-ILS/web/opac/skin/default/js/myopac.js +++ b/Open-ILS/web/opac/skin/default/js/myopac.js @@ -1099,7 +1099,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');