summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/mrbsection.js
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/mrbsection.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/mrbsection.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/mrbsection.js b/bitbake/lib/toaster/toastergui/static/js/mrbsection.js
index e7fbf01731..73d0935fa5 100644
--- a/bitbake/lib/toaster/toastergui/static/js/mrbsection.js
+++ b/bitbake/lib/toaster/toastergui/static/js/mrbsection.js
@@ -84,14 +84,20 @@ function mrbSectionInit(ctx){
84 } 84 }
85 else if (stateChanged(build)) { 85 else if (stateChanged(build)) {
86 // update the whole template 86 // update the whole template
87 build.warnings_pluralise = (build.warnings !== 1 ? 's' : '');
88 build.errors_pluralise = (build.errors !== 1 ? 's' : '');
89
87 tmpl = $.templates("#build-template"); 90 tmpl = $.templates("#build-template");
88 91
89 html = tmpl.render(build); 92 html = $(tmpl.render(build));
90 93
91 selector = '[data-latest-build-result="' + build.id + '"] ' + 94 selector = '[data-latest-build-result="' + build.id + '"] ' +
92 '[data-role="build-status-container"]'; 95 '[data-role="build-status-container"]';
93 container = $(selector); 96 container = $(selector);
94 97
98 // initialize bootstrap tooltips in the new HTML
99 html.find('span.glyphicon-question-sign').tooltip();
100
95 container.html(html); 101 container.html(html);
96 } 102 }
97 else if (tasksProgressChanged(build)) { 103 else if (tasksProgressChanged(build)) {