Skip to content

Commit

Permalink
Add missing initialization of existing_org in organizations selector.
Browse files Browse the repository at this point in the history
Without this initialization the organizations selector doesn't select the current organization.
  • Loading branch information
eraviart committed Aug 21, 2013
1 parent 79bbdb0 commit 0405c3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/templates/package/snippets/package_basic_fields.html
Expand Up @@ -65,6 +65,7 @@
{% endif %}

{% if show_organizations_selector %}
{% set existing_org = data.owner_org %}
<div class="control-group">
<label for="field-organizations" class="control-label">{{ _('Organization') }}</label>
<div class="controls">
Expand Down

0 comments on commit 0405c3f

Please sign in to comment.