mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
bitbake: toaster: layerdetails api Fix saving of git revision of a layer
Update, clean up and move the api for updating a layerversion from the views to api. Also update the layerdetails page to include the layerversion id in the url getter. [YOCTO #8952] (Bitbake rev: 20f4e23bc86290f0a42881a7cac44c41eafa86fc) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
903c3c2ef8
commit
36dec688c7
@@ -44,7 +44,7 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
var ctx = {
|
||||
xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}",
|
||||
xhrUpdateLayerUrl : "{% url 'xhr_layer' layerversion.pk %}",
|
||||
layerVersion : {
|
||||
name : "{{layerversion.layer.name}}",
|
||||
id : {{layerversion.id}},
|
||||
|
||||
Reference in New Issue
Block a user