提交 3b00a37a 编写于 作者: N Nicolas De Loof

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

上级 e94aff42
......@@ -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 -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册