diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-15 13:00:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 16:29:59 +0000 |
commit | 6c12ca7f932d2fa06c2f2e2e6c98c76bb4d487d3 (patch) | |
tree | 0d43088d335f2bebacdc0a24ae52ce4d614cda03 /bitbake/doc | |
parent | ef93dce7e164e2b9ff764937d4365a9748a03c83 (diff) | |
download | poky-6c12ca7f932d2fa06c2f2e2e6c98c76bb4d487d3.tar.gz |
bitbake: toastergui: use event delegates for hover help elements
libtoaster.js binds to hover help elements via their hover() and
mouseout() methods. However, any elements added to the DOM after
libtoaster has initialised will not have these bindings added.
This causes a problem for ToasterTables which have hover-help
elements (e.g. the builds/ table).
Use the on() method instead. This uses event delegation to bind
a handler to any th or td elements already in the DOM, or
which will be added to the DOM in future. ToasterTables can
now reconstruct the table DOM and still have the correct handlers
attached once the table is done.
[YOCTO #8738]
(Bitbake rev: 1f3ff01fed0b4de8721191f108033ad044cdc26a)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
0 files changed, 0 insertions, 0 deletions