summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/importlayer.js
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2014-12-08 15:29:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-18 10:24:07 +0000
commitc89fd793986878a426ebc96d4df22257252f8934 (patch)
tree7ed799e63af850a5d0df3e8d0125e3024cac4ed3 /bitbake/lib/toaster/toastergui/static/js/importlayer.js
parent8d96256c39f2c31209ec1f8fe06b96d3b59b403c (diff)
downloadpoky-c89fd793986878a426ebc96d4df22257252f8934.tar.gz
bitbake: toaster: projectapp Add links to the imported layers notify
Adds links to layer details for each of the layers that has been added to the project. (Bitbake rev: 07e5c7c82519604501feb7d892db330c610978e9) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/importlayer.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/importlayer.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/importlayer.js b/bitbake/lib/toaster/toastergui/static/js/importlayer.js
index 34dbcd9ed7..5748efd8ce 100644
--- a/bitbake/lib/toaster/toastergui/static/js/importlayer.js
+++ b/bitbake/lib/toaster/toastergui/static/js/importlayer.js
@@ -152,9 +152,8 @@ function importLayerPageInit (ctx) {
152 show_error_message(data, layerData); 152 show_error_message(data, layerData);
153 console.log(data.error); 153 console.log(data.error);
154 } else { 154 } else {
155 layerData.layersAdded = data.layers_added;
156 /* Success layer import now go to the project page */ 155 /* Success layer import now go to the project page */
157 $.cookie('layer-imported-alert', JSON.stringify(layerData), { path: '/'}); 156 $.cookie('layer-imported-alert', JSON.stringify(data), { path: '/'});
158 window.location.replace(ctx.projectPageUrl+'#/layerimported'); 157 window.location.replace(ctx.projectPageUrl+'#/layerimported');
159 } 158 }
160 }, 159 },