[open-ils-commits] r16378 - branches/rel_1_6_0/Open-ILS/web/opac/skin/default/js (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon May 3 11:37:26 EDT 2010


Author: erickson
Date: 2010-05-03 11:37:24 -0400 (Mon, 03 May 2010)
New Revision: 16378

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

Modified: branches/rel_1_6_0/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/opac/skin/default/js/myopac.js	2010-05-03 15:36:46 UTC (rev 16377)
+++ branches/rel_1_6_0/Open-ILS/web/opac/skin/default/js/myopac.js	2010-05-03 15:37:24 UTC (rev 16378)
@@ -1088,7 +1088,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