summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-17 12:27:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-26 09:27:32 +0100
commit335c975650580001b2176020c762c002bde198d6 (patch)
treea9e2907b72bbbac2ad897b7839f8114e60935038 /bitbake/lib/toaster/toastergui/static
parentd7c8d9558c8b600be1507212c78dde833b2bb57e (diff)
downloadpoky-335c975650580001b2176020c762c002bde198d6.tar.gz
bitbake: toaster: fixes after replacing BuildRequest with Build
This is a set of fixes that repair the interface after we switched from displaying BuildRequest data to Build data in the formerly "managed" mode. (Bitbake rev: 57f790b0c56297af8c83d5def8461bd5d61fe4af) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectapp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
index 40e2e1fffa..ea44bf34f1 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
@@ -132,8 +132,8 @@ projectApp.filter('timediff', function() {
132 var seconds = parseInt(input); 132 var seconds = parseInt(input);
133 var minutes = Math.floor(seconds / 60); 133 var minutes = Math.floor(seconds / 60);
134 seconds = seconds - minutes * 60; 134 seconds = seconds - minutes * 60;
135 var hours = Math.floor(seconds / 3600); 135 var hours = Math.floor(minutes / 60);
136 seconds = seconds - hours * 3600; 136 minutes = minutes - hours * 60;
137 return pad(hours) + ":" + pad(minutes) + ":" + pad(seconds); 137 return pad(hours) + ":" + pad(minutes) + ":" + pad(seconds);
138 }; 138 };
139}); 139});