diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-07-31 15:09:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:26:11 +0100 |
commit | 1b13222e1c031d29419781e41956bedf643ebd74 (patch) | |
tree | db1bc8ea9fa2ea54d888c7cfe5d356c025fb5ffa /bitbake/lib/toaster/toastergui/static/js/libtoaster.js | |
parent | df999d2ac162a5be3a65ac4ce771a7466aab2bdb (diff) | |
download | poky-1b13222e1c031d29419781e41956bedf643ebd74.tar.gz |
bitbake: toastergui: Standardise the layer object property layerdetailurl
To be able to use the utility functions in libtoaster we need to have a
single property name for the value that represents the url for the
layer details in the layer object.
(Bitbake rev: 4d64fd0d1236d342b29537f601a68cd23a8255ea)
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/libtoaster.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/libtoaster.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 667aca20ff..0000c572ac 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js | |||
@@ -225,7 +225,7 @@ var libtoaster = (function (){ | |||
225 | function _addRmLayer(layerObj, add, doneCb){ | 225 | function _addRmLayer(layerObj, add, doneCb){ |
226 | if (add === true) { | 226 | if (add === true) { |
227 | /* If adding get the deps for this layer */ | 227 | /* If adding get the deps for this layer */ |
228 | libtoaster.getLayerDepsForProject(layerObj.url, | 228 | libtoaster.getLayerDepsForProject(layerObj.layerdetailurl, |
229 | function (layers) { | 229 | function (layers) { |
230 | 230 | ||
231 | /* got result for dependencies */ | 231 | /* got result for dependencies */ |
@@ -285,7 +285,7 @@ var libtoaster = (function (){ | |||
285 | } | 285 | } |
286 | 286 | ||
287 | alertMsg.children("#layer-affected-name").text(layer.name); | 287 | alertMsg.children("#layer-affected-name").text(layer.name); |
288 | alertMsg.children("#layer-affected-name").attr("href", layer.url); | 288 | alertMsg.children("#layer-affected-name").attr("href", layer.layerdetailurl); |
289 | alertMsg.children("#project-affected-name").text(libtoaster.ctx.projectName); | 289 | alertMsg.children("#project-affected-name").text(libtoaster.ctx.projectName); |
290 | alertMsg.children("#project-affected-name").attr("href", libtoaster.ctx.projectPageUrl); | 290 | alertMsg.children("#project-affected-name").attr("href", libtoaster.ctx.projectPageUrl); |
291 | 291 | ||