diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/layerdetails.js')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 8e14b8f277..ab781829cd 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
| @@ -9,7 +9,7 @@ function layerDetailsPageInit (ctx) { | |||
| 9 | var addRmLayerBtn = $("#add-remove-layer-btn"); | 9 | var addRmLayerBtn = $("#add-remove-layer-btn"); |
| 10 | 10 | ||
| 11 | /* setup the dependencies typeahead */ | 11 | /* setup the dependencies typeahead */ |
| 12 | libtoaster.makeTypeahead(layerDepInput, libtoaster.ctx.xhrProjectDataTypeaheadUrl, { type : "layers", project_id: libtoaster.ctx.projectId, include_added: "true" }, function(item){ | 12 | libtoaster.makeTypeahead(layerDepInput, libtoaster.ctx.projectLayersUrl, { include_added: "true" }, function(item){ |
| 13 | currentLayerDepSelection = item; | 13 | currentLayerDepSelection = item; |
| 14 | 14 | ||
| 15 | layerDepBtn.removeAttr("disabled"); | 15 | layerDepBtn.removeAttr("disabled"); |
| @@ -170,7 +170,7 @@ function layerDetailsPageInit (ctx) { | |||
| 170 | $(".build-target-btn").click(function(){ | 170 | $(".build-target-btn").click(function(){ |
| 171 | /* fire a build */ | 171 | /* fire a build */ |
| 172 | var target = $(this).data('target-name'); | 172 | var target = $(this).data('target-name'); |
| 173 | libtoaster.startABuild(ctx.projectBuildUrl, libtoaster.ctx.projectId, target, null, null); | 173 | libtoaster.startABuild(ctx.projectBuildsUrl, libtoaster.ctx.projectId, target, null, null); |
| 174 | window.location.replace(libtoaster.ctx.projectPageUrl); | 174 | window.location.replace(libtoaster.ctx.projectPageUrl); |
| 175 | }); | 175 | }); |
| 176 | }); | 176 | }); |
