Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow themes to show up in collection creation/management autocomplet…

…e add-on suggestions (bug 857300)
  • Loading branch information...
commit 76c4cfe2e59eb626f454a2c2b592dbd3476f782a 1 parent 6badaa7
@cvan cvan authored
View
2  apps/bandwagon/templates/bandwagon/edit.html
@@ -61,8 +61,8 @@
<div class="tab_panel tab-panel tab-selected" id="addons-edit">
<form method="post"
action="{{ url('collections.edit_addons', username, slug) }}">
- {% include 'bandwagon/includes/addon_selector.html' %}
{{ csrf() }}
+ {% include 'bandwagon/includes/addon_selector.html' %}
<div class="listing-footer">
<input type="submit" value="{{ _('Save Changes') }}">
{% if owner %}
View
1  apps/constants/base.py
@@ -197,6 +197,7 @@
ADDON_DICT,
ADDON_SEARCH,
ADDON_LPAPP,
+ ADDON_PERSONA,
]
ADDON_ADMIN_SEARCH_TYPES = ADDON_SEARCH_TYPES + [ADDON_PLUGIN]
View
4 apps/search/views.py
@@ -423,8 +423,8 @@ def queryset(self):
@json_view
def ajax_search(request):
"""This is currently used only to return add-ons for populating a
- new collection. Personas are included by default, so this can be
- used elsewhere.
+ new collection. Themes (formerly Personas) are included by default, so
+ this can be used elsewhere.
"""
search_obj = BaseAjaxSearch(request)
Please sign in to comment.
Something went wrong with that request. Please try again.