Skip to content

Commit

Permalink
Bug 624873 - Cannot delete screenshot in add add-on wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoberger committed Jan 12, 2011
1 parent bb2f207 commit e945c3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions apps/devhub/templates/devhub/addons/submit/media.html
Expand Up @@ -69,17 +69,15 @@ <h3>{{ _('Step 4. Add Images') }}</h3>
</div>
{{ form.id|safe }}
<span class="js-hidden delete">{{ form.DELETE|safe }}{{ form.DELETE.label_tag()|safe }}</span>
<label>{{ _('Please provide a caption for this screen shot:') }}</label>
{{ form.caption|safe }}
<p class="preview-delete">
<a href="#">
{{ _('Delete this Screen Shot') }}
</a>
</p>
<div class="preview_extra">
{{ form.upload_hash|safe }}
<div class="edit-previews-text">
<label>{{ _('Please provide a caption for this screen shot:') }}</label>
{{ form.caption|safe }}
<a href="#" class="remove">x</a>
<div class="preview_extra">
{{ form.upload_hash|safe }}
</div>
{{ form.errors|safe }}
</div>
{{ form.errors|safe }}
</div>
{% endfor %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion media/css/zamboni/developers.css
Expand Up @@ -345,7 +345,7 @@ form .char-count b {
border-bottom: 1px dotted #ADD0DC;
}

#file-list div:last-child {
#file-list > div:last-child {
display: none;
}

Expand Down

0 comments on commit e945c3b

Please sign in to comment.