[open-ils-commits] r17326 - branches/rel_1_6_1/Open-ILS/xul/staff_client/server/patron (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 24 11:44:12 EDT 2010
Author: atz
Date: 2010-08-24 11:44:10 -0400 (Tue, 24 Aug 2010)
New Revision: 17326
Modified:
branches/rel_1_6_1/Open-ILS/xul/staff_client/server/patron/ue.js
Log:
1-line fix for false 404 from sylvar
solves "The requested URL /xul/rel_1_6_0_7/server/patron/ue.xhtml&clone=112879 was not found on this server."
Modified: branches/rel_1_6_1/Open-ILS/xul/staff_client/server/patron/ue.js
===================================================================
--- branches/rel_1_6_1/Open-ILS/xul/staff_client/server/patron/ue.js 2010-08-24 15:40:02 UTC (rev 17325)
+++ branches/rel_1_6_1/Open-ILS/xul/staff_client/server/patron/ue.js 2010-08-24 15:44:10 UTC (rev 17326)
@@ -642,7 +642,7 @@
var href = location.href;
href = href.replace(/\&?usr=\d+/, '');
href = href.replace(/\&?clone=\d+/, '');
- href += '&clone=' + cloneme;
+ href += (href.match(/\?/) ? "&" : "?") + 'clone=' + cloneme;
location.href = href;
}
More information about the open-ils-commits
mailing list