From 83a97e7669c24e34124510d9e8df96688ab4598b Mon Sep 17 00:00:00 2001 From: atz Date: Tue, 24 Aug 2010 15:44:10 +0000 Subject: [PATCH] 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." git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@17326 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 7a6dd7f9d2..d31b117d4b 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -642,7 +642,7 @@ function uEditSaveUser(cloneme) { 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; } -- 2.11.0