mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
bitbake: toaster: Move project context variables to common scope
We have a bunch of context data which are used in multiple pages so it makes more sense to have this in a single place libtoaster.ctx that's accessible from each page rather than request it from every page. (Bitbake rev: 4ef2774a2f683929c700550a9acc7b8f6074195b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4b59ba1bbb
commit
ed26a06a07
@@ -13,12 +13,8 @@
|
||||
<script>
|
||||
$(document).ready(function (){
|
||||
var ctx = {
|
||||
xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}",
|
||||
layerDetailsUrl : "{% url 'base_layerdetails' %}",
|
||||
xhrImportLayerUrl : "{% url 'xhr_importlayer' %}",
|
||||
xhrEditProjectUrl : "{% url 'xhr_projectedit' project.id %}",
|
||||
projectPageUrl : "{% url 'project' project.id %}",
|
||||
projectId : {{project.id}}
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user