diff --git a/core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly b/core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly index 145cb0acf5..5819b0462f 100644 --- a/core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly +++ b/core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly @@ -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) { diff --git a/core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly b/core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly index e4eccaba2b..ce95917a74 100644 --- a/core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly +++ b/core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly @@ -61,7 +61,7 @@ THE SOFTWARE. box.innerHTML = ''; // then actually fetch the HTML - new Ajax.Request("${it.baseUrl}/buildHistory/all",{ + new Ajax.Request("${it.baseUrl}/buildHistory/all/",{ method: "get", onComplete: function(rsp,_) {