mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
fix missing trailing '/' in Ajax URIs that fail when Jenkins is hosted behind https
This commit is contained in:
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 -->
|
||||
|
||||
Reference in new issue
Block a user