diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-10-09 10:32:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-11 08:11:29 +0100 |
commit | ab896df63ba058f535cb303611574f293c7c680b (patch) | |
tree | cacd7c759774a8578e532a41c5ce0e26226040a0 /bitbake/lib/toaster/toastergui/static/js/table.js | |
parent | 41a5f82b4ac0c689df4cfc673ce574c2d70f413c (diff) | |
download | poky-ab896df63ba058f535cb303611574f293c7c680b.tar.gz |
bitbake: toaster: Fix stale layer state buttons
Move the "is available to the project" state computation to the template
for the Layer add/remove buttons, Recipe build/Add layer as done for the
Package add/remove. This is more reliable as we can get an inconsistent
state on the front end JS as there are many opportunities for hitting
out of date project information.
[YOCTO #8294]
(Bitbake rev: 43469c3360566ad4897785f14f8717a9bc8b6078)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/table.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/table.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js b/bitbake/lib/toaster/toastergui/static/js/table.js index bc81e67a6a..40b5022deb 100644 --- a/bitbake/lib/toaster/toastergui/static/js/table.js +++ b/bitbake/lib/toaster/toastergui/static/js/table.js | |||
@@ -130,7 +130,7 @@ function tableInit(ctx){ | |||
130 | tableBody.append(row); | 130 | tableBody.append(row); |
131 | 131 | ||
132 | /* If we have layerbtns then initialise them */ | 132 | /* If we have layerbtns then initialise them */ |
133 | layerBtnsInit(ctx); | 133 | layerBtnsInit(); |
134 | 134 | ||
135 | /* If we have popovers initialise them now */ | 135 | /* If we have popovers initialise them now */ |
136 | $('td > a.btn').popover({ | 136 | $('td > a.btn').popover({ |