summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-08 15:22:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-12 00:01:49 +0100
commit27f5137cd6143b523e9aea8eeba406337aa935c4 (patch)
treeca47f73fda5ca2b2fba99872fbfa4f7a64f57b9a /bitbake/lib/toaster/toastergui/static/js/layerdetails.js
parenta8be6d4bb18232f13ffcaaf1a4137322db59fe48 (diff)
downloadpoky-27f5137cd6143b523e9aea8eeba406337aa935c4.tar.gz
bitbake: toastergui: remove xhr_datatypeahaed layerdeps call
This patch removes the url-constructing calls to get the layer details in favor of embedding the look-up URL in the JSON data on the layer list page. This allows further removal of the XHR-specific code for layer dependencies in favor of REST calls to layer details data. (Bitbake rev: 33d2b87aca667d72262a3928deaf35414b46a7c1) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/layerdetails.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerdetails.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
index ab781829cd..0accd971d4 100644
--- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
+++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
@@ -65,7 +65,7 @@ function layerDetailsPageInit (ctx) {
65 newLayerDep.children("span").tooltip(); 65 newLayerDep.children("span").tooltip();
66 66
67 var link = newLayerDep.children("a"); 67 var link = newLayerDep.children("a");
68 link.attr("href", ctx.layerDetailsUrl+String(currentLayerDepSelection.id)); 68 link.attr("href", currentLayerDepSelection.layerDetailsUrl);
69 link.text(currentLayerDepSelection.name); 69 link.text(currentLayerDepSelection.name);
70 link.tooltip({title: currentLayerDepSelection.tooltip, placement: "right"}); 70 link.tooltip({title: currentLayerDepSelection.tooltip, placement: "right"});
71 71