summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/layerdetails.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerdetails.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
index 8c2ec4cdd9..663b3c6bf3 100644
--- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
+++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
@@ -32,21 +32,6 @@ function layerDetailsPageInit (ctx) {
32 } 32 }
33 }); 33 });
34 34
35
36 $(".breadcrumb li:first a").click(function(e){
37 e.preventDefault();
38 /* By default this link goes to the project configuration page. However
39 * if we have some builds we go there instead of the default href
40 */
41 libtoaster.getProjectInfo(libtoaster.ctx.projectPageUrl, function(prjInfo){
42 if (prjInfo.builds && prjInfo.builds.length > 0) {
43 window.location.replace(libtoaster.ctx.projectBuildsUrl);
44 } else {
45 window.location.replace(libtoaster.ctx.projectPageUrl);
46 }
47 });
48 });
49
50 function addRemoveDep(depLayerId, add, doneCb) { 35 function addRemoveDep(depLayerId, add, doneCb) {
51 var data = { layer_version_id : ctx.layerVersion.id }; 36 var data = { layer_version_id : ctx.layerVersion.id };
52 if (add) 37 if (add)