[open-ils-commits] r17327 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 24 11:56:43 EDT 2010
Author: atz
Date: 2010-08-24 11:56:40 -0400 (Tue, 24 Aug 2010)
New Revision: 17327
Modified:
branches/rel_1_6/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/Open-ILS/xul/staff_client/server/patron/ue.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js 2010-08-24 15:44:10 UTC (rev 17326)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js 2010-08-24 15:56:40 UTC (rev 17327)
@@ -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