summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmit Kumar Chaudhary <amit@floatingpondtech.com>2014-03-19 16:51:40 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 11:17:34 +0000
commitda1b795a9ab68ae21625183dc65c6b09e2b83692 (patch)
treed44d5e177007229d78b68c83ae013607f9fd5c35
parentf5d616ef3e5ae66c6e1aae758fae848171cd80cc (diff)
downloadast2050-yocto-poky-da1b795a9ab68ae21625183dc65c6b09e2b83692.zip
ast2050-yocto-poky-da1b795a9ab68ae21625183dc65c6b09e2b83692.tar.gz
bitbake: toaster: combine ready functions
Merge the code into single ready function. [YOCTO #4283] (Bitbake rev: 16e6fc6e0492f4ebd5f18bd236478b6f9f778a1e) Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/main.js b/bitbake/lib/toaster/toastergui/static/js/main.js
index 07aba3d..7f897d2 100644
--- a/bitbake/lib/toaster/toastergui/static/js/main.js
+++ b/bitbake/lib/toaster/toastergui/static/js/main.js
@@ -90,9 +90,6 @@ $(document).ready(function() {
});
});
-});
-
-$(document).ready(function() {
//toggle the errors and warnings sections
$('.show-errors').click(function() {
$('#collapse-errors').addClass('in');
@@ -110,4 +107,5 @@ $(document).ready(function() {
if (location.href.search('#warnings') > -1) {
$('#collapse-warnings').addClass('in');
}
+
});
OpenPOWER on IntegriCloud