[open-ils-commits] r12326 - trunk/Open-ILS/web/opac/skin/default/js (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 28 19:37:58 EST 2009
Author: miker
Date: 2009-02-28 19:37:57 -0500 (Sat, 28 Feb 2009)
New Revision: 12326
Modified:
trunk/Open-ILS/web/opac/skin/default/js/myopac.js
Log:
Patch from Jeff Godin:
Noticed in 1.4.0.2, confirmed in trunk, the myopac.xml "My Account"
display doubles the patron's first given name:
Administrator Administrator System Account
myopac.js was the culprit, populating the "prefix" with the value of
first_given_name.
Modified: trunk/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/myopac.js 2009-02-28 21:58:42 UTC (rev 12325)
+++ trunk/Open-ILS/web/opac/skin/default/js/myopac.js 2009-03-01 00:37:57 UTC (rev 12326)
@@ -801,7 +801,7 @@
var iv1 = user.ident_value()+'';
if (iv1.length > 4) iv1 = iv1.replace(new RegExp(iv1.substring(0,iv1.length - 4)), '***********');
- appendClear($('myopac_summary_prefix'),text(user.first_given_name()));
+ appendClear($('myopac_summary_prefix'),text(user.prefix()));
appendClear($('myopac_summary_first'),text(user.first_given_name()));
appendClear($('myopac_summary_middle'),text(user.second_given_name()));
appendClear($('myopac_summary_dayphone'),text(user.day_phone()));
More information about the open-ils-commits
mailing list