fix missing trailing '/' in Ajax URIs that fail when Jenkins is hosted behind https

This commit is contained in:
Nicolas De Loof committed 2011-09-14 18:10:46 +02:00
1 parent e94aff4206
commit 3b00a37a67
2 files changed
+2 -2

No files matched your search

@@ -48,7 +48,7 @@ THE SOFTWARE.
for (var i=min; i<=max; i++) {
if (!this.loaded[i]) {
this.loaded[i] = true;
new Ajax.Request("timeline/data",{
new Ajax.Request("timeline/data/",{
method:"POST",
parameters: {min: i*interval, max:(i+1)*interval},
onSuccess: function(t) {
@@ -61,7 +61,7 @@ THE SOFTWARE.
box.innerHTML = '<img src="${imagesURL}/spinner.gif" alt=""/>';
// then actually fetch the HTML
new Ajax.Request("${it.baseUrl}/buildHistory/all",{
new Ajax.Request("${it.baseUrl}/buildHistory/all/",{
method: "get",
onComplete: function(rsp,_) {
<!-- neither outerHTML nor responseXML works in Firefox 2.0 -->