diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-04-10 18:15:03 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-05-01 17:37:38 +0100 |
commit | 4ef2774a2f683929c700550a9acc7b8f6074195b (patch) | |
tree | c466f9de0fecaa07438aceb8bd74f6dfcbdd870f /lib/toaster/toastergui/templates/importlayer.html | |
parent | af63abe88327fd5c1b3d7c00a84d9e408ef23285 (diff) | |
download | bitbake-contrib-4ef2774a2f683929c700550a9acc7b8f6074195b.tar.gz |
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.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/importlayer.html')
-rw-r--r-- | lib/toaster/toastergui/templates/importlayer.html | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/toaster/toastergui/templates/importlayer.html b/lib/toaster/toastergui/templates/importlayer.html index 5ef8a5786..c92b5d8b2 100644 --- a/lib/toaster/toastergui/templates/importlayer.html +++ b/lib/toaster/toastergui/templates/importlayer.html @@ -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 { |