backporting 16376: fixed bug where updating the email address resulted in updating...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 3 May 2010 15:37:24 +0000 (15:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 3 May 2010 15:37:24 +0000 (15:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@16378 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/myopac.js

index 482af9b..b77d93d 100644 (file)
@@ -1088,7 +1088,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');