mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
bitbake: toasterui: views Remove unused xhr_typeahead view definition
The one thing left being used in this definition was a response which contains the list of layers which would be deleted if you change the project release. This patch moves that to it's own url/endpoint and updates the frontend reference which is using it. (Bitbake rev: 1cc19c84ee97182f39eae0338c712f7a2b40a18d) 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>
This commit is contained in:
committed by
Richard Purdie
parent
1e7707b63f
commit
951e40dd7d
@@ -406,8 +406,8 @@ function projectPageInit(ctx) {
|
||||
|
||||
var newRelease = releaseForm.find("option:selected").data('release');
|
||||
|
||||
$.getJSON(ctx.typeaheadUrl,
|
||||
{ search: newRelease.id, type: "versionlayers" },
|
||||
$.getJSON(ctx.testReleaseChangeUrl,
|
||||
{ new_release_id: newRelease.id },
|
||||
function(layers) {
|
||||
if (layers.rows.length === 0){
|
||||
/* No layers to change for this release */
|
||||
|
||||
Reference in New Issue
Block a user