summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/api.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-09-26 13:59:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 16:52:22 +0100
commit5b035ed9be2a79a31d25a0b527d3688a0ce6f97e (patch)
treeb36d3e9d61f82e4beb40ee9eb7e29f8c57c06ffc /bitbake/lib/toaster/toastergui/api.py
parentac5aba6cab06f3a8655eea1e368d28eb1025407e (diff)
downloadpoky-5b035ed9be2a79a31d25a0b527d3688a0ce6f97e.tar.gz
bitbake: toaster: layerdetails Update implementation of delete imported layer
Update the implementation of delete an imported layer so that it is consistent with the other delete messages and wording. Also use the new libtoaster way of setting a notification that the delete was successful. (Bitbake rev: 0b8d3ac48b5a0984963d664ff5630e3b02c4ecd1) 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/api.py')
-rw-r--r--bitbake/lib/toaster/toastergui/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/api.py b/bitbake/lib/toaster/toastergui/api.py
index 149abf7a5b..3a05d66383 100644
--- a/bitbake/lib/toaster/toastergui/api.py
+++ b/bitbake/lib/toaster/toastergui/api.py
@@ -221,7 +221,7 @@ class XhrLayer(View):
221 221
222 return JsonResponse({ 222 return JsonResponse({
223 "error": "ok", 223 "error": "ok",
224 "redirect": reverse('project', args=(kwargs['pid'],)) 224 "gotoUrl": reverse('project', args=(kwargs['pid'],))
225 }) 225 })
226 226
227 227