[open-ils-commits] r12492 - branches/rel_1_4/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 12 12:21:05 EDT 2009
Author: phasefx
Date: 2009-03-12 12:21:02 -0400 (Thu, 12 Mar 2009)
New Revision: 12492
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue.js
Log:
fix for Cancel in patron editor for existing patron
Modified: branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue.js 2009-03-12 16:18:34 UTC (rev 12491)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue.js 2009-03-12 16:21:02 UTC (rev 12492)
@@ -638,7 +638,7 @@
if (xulG) if (xulG.usr) id = xulG.usr;
if (xulG) if (xulG.params) if (xulG.params.usr) id = xulG.params.usr;
/* reload the current user if available */
- if( id ) href += "&usr=" + id;
+ if( id ) href += (href.match(/\?/) ? "&" : "?") + "usr=" + id;
location.href = href;
}
More information about the open-ils-commits
mailing list