[open-ils-commits] r16376 - trunk/Open-ILS/web/opac/skin/default/js (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon May 3 11:34:52 EDT 2010


Author: erickson
Date: 2010-05-03 11:34:49 -0400 (Mon, 03 May 2010)
New Revision: 16376

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/myopac.js
Log:
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.

Modified: trunk/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/myopac.js	2010-05-03 14:39:28 UTC (rev 16375)
+++ trunk/Open-ILS/web/opac/skin/default/js/myopac.js	2010-05-03 15:34:49 UTC (rev 16376)
@@ -1099,7 +1099,7 @@
 	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');



More information about the open-ils-commits mailing list