summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-08-04 22:46:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:46 -0500
commit951e40dd7d77ca5fcad35204817cfae916c267e5 (patch)
tree19200baebde063d9e4c57d1967797fd6064c1373 /bitbake/lib/toaster/toastergui/static
parent1e7707b63f91eb310e3207da4d9cdd831a4851c5 (diff)
downloadpoky-951e40dd7d77ca5fcad35204817cfae916c267e5.tar.gz
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>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectpage.js4
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 b82f7408e7..146319e042 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectpage.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectpage.js
@@ -406,8 +406,8 @@ function projectPageInit(ctx) {
406 406
407 var newRelease = releaseForm.find("option:selected").data('release'); 407 var newRelease = releaseForm.find("option:selected").data('release');
408 408
409 $.getJSON(ctx.typeaheadUrl, 409 $.getJSON(ctx.testReleaseChangeUrl,
410 { search: newRelease.id, type: "versionlayers" }, 410 { new_release_id: newRelease.id },
411 function(layers) { 411 function(layers) {
412 if (layers.rows.length === 0){ 412 if (layers.rows.length === 0){
413 /* No layers to change for this release */ 413 /* No layers to change for this release */