From bdbc37f5c636d0dbb58bbe4c6d0a026216cb5a3c Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 19 Jan 2015 17:27:35 +0000 Subject: bitbake: toastergui: "Run again" button in build pages This patch fixes the "Run again" button for the completed builds. [YOCTO #7173] (Bitbake rev: 37125f2b52492f8bee465611e60514b365541892) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +- bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js index 0bdc55a733..74471a1a51 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js @@ -339,7 +339,7 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc $scope.buildExistingTarget = function(targets) { var oldTargetName = $scope.targetName; $scope.targetName = targets.map(function(v,i,a){return v.target}).join(' '); - $scope.targetNamedBuild(); + $scope.buildNamedTarget(); $scope.targetName = oldTargetName; } diff --git a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html index d4959a0b52..da5a3f7f74 100644 --- a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html @@ -53,8 +53,8 @@ Build time: {{ build.timespent|sectohms }} - {% if MANAGED and build.project %} - Run again + {% if build.project %} + {% endif %} {%endif%} -- cgit v1.2.3-54-g00ecf