diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-04-19 17:28:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-19 21:11:25 +0100 |
commit | 3036413000786499d38026ae0c16b916a10b7c65 (patch) | |
tree | 17693b021faa33b346f2eb13872514e83ea7df47 /scripts/send-pull-request | |
parent | 040dbf6988bebf755e60f6102bbc2b9854ce0608 (diff) | |
download | poky-3036413000786499d38026ae0c16b916a10b7c65.tar.gz |
bitbake: toaster: disable/enable "Add layer" button according to input's content
In the import layer page, the "Add layer" button in the layer dependencies
section doesn't accurately reflect whether the layer name in the
corresponding input can be added. A partial or empty layer name can
leave the button active, such that when it is clicked, a
previously-selected layer can be accidentally added.
Fix by keeping track of the items currently available in the typeahead,
only activating the "Add layer" button when the input matches the name
of one of those items.
[YOCTO #8511]
(Bitbake rev: dbb4f0282ded361baf9e5a0346e134bece5314b9)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/send-pull-request')
0 files changed, 0 insertions, 0 deletions