diff options
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/typeaheads.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/typeaheads.py b/bitbake/lib/toaster/toastergui/typeaheads.py index 5316000209..58c650f8fc 100644 --- a/bitbake/lib/toaster/toastergui/typeaheads.py +++ b/bitbake/lib/toaster/toastergui/typeaheads.py | |||
@@ -23,6 +23,7 @@ from orm.models import Project | |||
23 | from django.core.urlresolvers import reverse | 23 | from django.core.urlresolvers import reverse |
24 | from django.core.cache import cache | 24 | from django.core.cache import cache |
25 | 25 | ||
26 | |||
26 | class LayersTypeAhead(ToasterTypeAhead): | 27 | class LayersTypeAhead(ToasterTypeAhead): |
27 | """ Typeahead for layers available and not added in the current project's | 28 | """ Typeahead for layers available and not added in the current project's |
28 | configuration """ | 29 | configuration """ |
@@ -55,6 +56,8 @@ class LayersTypeAhead(ToasterTypeAhead): | |||
55 | 'id': layer_version.pk, | 56 | 'id': layer_version.pk, |
56 | 'name': layer_version.layer.name, | 57 | 'name': layer_version.layer.name, |
57 | 'layerdetailurl': layer_version.get_detailspage_url(prj.pk), | 58 | 'layerdetailurl': layer_version.get_detailspage_url(prj.pk), |
59 | 'xhrLayerUrl': reverse('xhr_layer', | ||
60 | args=(prj.pk, layer_version.pk)), | ||
58 | 'vcs_url': layer_version.layer.vcs_url, | 61 | 'vcs_url': layer_version.layer.vcs_url, |
59 | 'vcs_reference': vcs_reference, | 62 | 'vcs_reference': vcs_reference, |
60 | 'detail': detail, | 63 | 'detail': detail, |