diff options
author | Amit Kumar Chaudhary <amit@floatingpondtech.com> | 2014-03-19 16:51:40 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-25 11:17:34 +0000 |
commit | da1b795a9ab68ae21625183dc65c6b09e2b83692 (patch) | |
tree | d44d5e177007229d78b68c83ae013607f9fd5c35 /bitbake | |
parent | f5d616ef3e5ae66c6e1aae758fae848171cd80cc (diff) | |
download | 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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/main.js | 4 |
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 07aba3d86b..7f897d2a90 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() { | |||
90 | }); | 90 | }); |
91 | }); | 91 | }); |
92 | 92 | ||
93 | }); | ||
94 | |||
95 | $(document).ready(function() { | ||
96 | //toggle the errors and warnings sections | 93 | //toggle the errors and warnings sections |
97 | $('.show-errors').click(function() { | 94 | $('.show-errors').click(function() { |
98 | $('#collapse-errors').addClass('in'); | 95 | $('#collapse-errors').addClass('in'); |
@@ -110,4 +107,5 @@ $(document).ready(function() { | |||
110 | if (location.href.search('#warnings') > -1) { | 107 | if (location.href.search('#warnings') > -1) { |
111 | $('#collapse-warnings').addClass('in'); | 108 | $('#collapse-warnings').addClass('in'); |
112 | } | 109 | } |
110 | |||
113 | }); | 111 | }); |