diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-05-07 18:09:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-12 12:14:13 +0100 |
commit | 94d38a4e403f9e1930312b94694077a5300d625f (patch) | |
tree | 9ffc996e3bf106a513d78e0026395305f9f83678 /bitbake/lib/toaster/toastergui/templates/importlayer.html | |
parent | a5193d3c7f1562ea6858c5b992159d79f58f644b (diff) | |
download | poky-94d38a4e403f9e1930312b94694077a5300d625f.tar.gz |
bitbake: toasterui: URL refactoring
This is a URL refactoring needed to remove the inadvertent
usage of server-side user session in a REST-style API.
We move the parameters that were stored in the user session
to the URL, making navigation more robust.
This refactoring allows a clean (no 500 HTTP return codes) crawl
of the website following inside links.
(Bitbake rev: cc251da0f211f3ee881ad07478733e2f4c1b7019)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/importlayer.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/importlayer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index ed03b2eea7..d73c319307 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html | |||
@@ -14,7 +14,7 @@ | |||
14 | <script> | 14 | <script> |
15 | $(document).ready(function (){ | 15 | $(document).ready(function (){ |
16 | var ctx = { | 16 | var ctx = { |
17 | layerDetailsUrl : "{% url 'base_layerdetails' %}", | 17 | layerDetailsUrl : "{% url 'base_layerdetails' project.id %}", |
18 | xhrImportLayerUrl : "{% url 'xhr_importlayer' %}", | 18 | xhrImportLayerUrl : "{% url 'xhr_importlayer' %}", |
19 | }; | 19 | }; |
20 | 20 | ||