From 9d52e9315d9f6e401f21f1ec9e772197ea89cc55 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 6 Jun 2002 11:02:01 +0000 Subject: [PATCH] dummy=0 was inserted in the GET part of the HTTP request of the "Load All Predefined" method. Fixed. --- helm/uwobo-panel/control.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helm/uwobo-panel/control.js b/helm/uwobo-panel/control.js index 0202f25c8..d94b9b2ce 100644 --- a/helm/uwobo-panel/control.js +++ b/helm/uwobo-panel/control.js @@ -125,11 +125,12 @@ function loadAllPredefined() { with (document.predefinedStylesheets.elements[0]) { var i; - var request = "dummy=0"; + var request = ""; for (i = 1; i < length; i++) request += - "&bind=" + getPredefinedStylesheetKey(i) + "," + escape((getPredefinedStylesheetUseGetter(i) == "true" ? (getGetterURL() + "getxslt?uri=") : "") + getPredefinedStylesheetURI(i)); + (request == "" ? "" : "&") + + "bind=" + getPredefinedStylesheetKey(i) + "," + escape((getPredefinedStylesheetUseGetter(i) == "true" ? (getGetterURL() + "getxslt?uri=") : "") + getPredefinedStylesheetURI(i)); top.result.location.replace(getUwoboURL() + "add?" + request); } } -- 2.39.2