Predefined" method. Fixed.
{
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);
}
}