diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-08-04 22:46:34 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-06 16:04:45 -0500 |
commit | aff29d2cd837df90a2897b9b75753e4af30f132e (patch) | |
tree | ed512f81667282dd478b43f3f90c06b05bbcb06f /bitbake/lib/toaster/toastergui/static/js/projectpage.js | |
parent | 73367c2ca82143c618a22f9faaa101761f192397 (diff) | |
download | poky-aff29d2cd837df90a2897b9b75753e4af30f132e.tar.gz |
bitbake: toastergui: Switch to using the new toaster typeahead widget
Switch the existing typeahead inputs to use the new typeahead widget.
This means we have a defined mechanism and end point for typeaheads
which meets the design specification.
(Bitbake rev: 31a8ae7909347f7b6edde5bbdf02b86dc1b32ed0)
Signed-off-by: Michael Wood <michael.g.wood@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/lib/toaster/toastergui/static/js/projectpage.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/projectpage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectpage.js b/bitbake/lib/toaster/toastergui/static/js/projectpage.js index b7cb074f11..b82f7408e7 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectpage.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectpage.js | |||
@@ -98,7 +98,7 @@ function projectPageInit(ctx) { | |||
98 | 98 | ||
99 | /* Add/Rm layer functionality */ | 99 | /* Add/Rm layer functionality */ |
100 | 100 | ||
101 | libtoaster.makeTypeahead(layerAddInput, libtoaster.ctx.projectLayersUrl, { include_added: "false" }, function(item){ | 101 | libtoaster.makeTypeahead(layerAddInput, libtoaster.ctx.layersTypeAheadUrl, { include_added: "false" }, function(item){ |
102 | currentLayerAddSelection = item; | 102 | currentLayerAddSelection = item; |
103 | layerAddBtn.removeAttr("disabled"); | 103 | layerAddBtn.removeAttr("disabled"); |
104 | }); | 104 | }); |
@@ -251,7 +251,7 @@ function projectPageInit(ctx) { | |||
251 | machineNameTitle.text(machineName); | 251 | machineNameTitle.text(machineName); |
252 | } | 252 | } |
253 | 253 | ||
254 | libtoaster.makeTypeahead(machineChangeInput, libtoaster.ctx.projectMachinesUrl, { }, function(item){ | 254 | libtoaster.makeTypeahead(machineChangeInput, libtoaster.ctx.machinesTypeAheadUrl, { }, function(item){ |
255 | currentMachineAddSelection = item; | 255 | currentMachineAddSelection = item; |
256 | machineChangeBtn.removeAttr("disabled"); | 256 | machineChangeBtn.removeAttr("disabled"); |
257 | }); | 257 | }); |