Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed UploadField->setDescription() handlgin

  • Loading branch information...
commit d2c1d53a893606d58934409eb65287389e178d52 1 parent 963f02e
@chillu chillu authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 templates/UploadField.ss
View
5 templates/UploadField.ss
@@ -33,9 +33,7 @@
</div>
<% end_if %>
<% else %>
- <div class="ss-uploadfield-item ss-uploadfield-addfile<% if $Items && $displayInput %> borderTop<% end_if %>" <% if not $displayInput %>style="display: none;"<% end_if %> <% if Description %>title="$Description"
-
- <% end_if %>>
+ <div class="ss-uploadfield-item ss-uploadfield-addfile<% if $Items && $displayInput %> borderTop<% end_if %>" <% if not $displayInput %>style="display: none;"<% end_if %>>
<div class="ss-uploadfield-item-preview ss-uploadfield-dropzone ui-corner-all">
<% if $multiple %>
<% _t('UploadField.DROPFILES', 'drop files') %>
@@ -64,3 +62,4 @@
<div class="clear"><!-- --></div>
</div>
<% end_if %>
+<% if Description %><span class="description">$Description</span><% end_if %>
Please sign in to comment.
Something went wrong with that request. Please try again.