summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-10 17:36:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:44:09 +0000
commit2b629e618227632bc8b774796d760904fcca92f4 (patch)
tree6f4d9d0a5ec5aeb764ab1b57cf22db9617b7ca19 /bitbake
parentfeb95bb04951db2d43875ef9d6b4cef278d91d5e (diff)
downloadast2050-yocto-poky-2b629e618227632bc8b774796d760904fcca92f4.zip
ast2050-yocto-poky-2b629e618227632bc8b774796d760904fcca92f4.tar.gz
bitbake: toastergui: project app build command fix
This patch fixes the build command in the angular project for builds triggered from All targets page. (Bitbake rev: bfd56aa653a1ec7f8777bcb5e627910c3a7ee35b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectapp.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
index 82db107..6b1bbb4 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
@@ -327,7 +327,7 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
}).error(function(_data, _status, _headers, _config) {
if (_status === 0) {
// the server has gone away
- alert("The server is not responding. The application will terminate now");
+ // alert("The server is not responding. The application will terminate now");
$interval.cancel($scope.pollHandle);
}
else {
@@ -652,9 +652,9 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
*/
$scope.updateDisplayWithCommands = function() {
- cmd = $location.path();
function _cmdExecuteWithParam(param, f) {
+ var cmd = $location.path();
if (cmd.indexOf(param) === 0) {
if (cmd.indexOf("=") > -1) {
var parameter = cmd.split("=", 2)[1];
@@ -725,8 +725,9 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
_cmdExecuteWithParam("/targetbuild=", function (targets) {
var oldTargetName = $scope.targetName;
$scope.targetName = targets.split(",").join(" ");
- $scope.targetNamedBuild();
+ $scope.buildNamedTarget();
$scope.targetName = oldTargetName;
+ $location.path('');
});
_cmdExecuteWithParam("/machineselect=", function (machine) {
OpenPOWER on IntegriCloud