Skip to content
Browse files

BUGFIX: Re-add status for successful upload

  • Loading branch information...
1 parent f01ca80 commit b2fc1179830b603e4ee5a7f11221315c20604973 @adrexia adrexia committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascript/UploadField_downloadtemplate.js
View
4 javascript/UploadField_downloadtemplate.js
@@ -8,9 +8,9 @@ window.tmpl.cache['ss-uploadfield-downloadtemplate'] = tmpl(
'<label class="ss-uploadfield-item-name">' +
'<span class="name" title="{%=file.name%}">{%=file.name%}</span> ' +
'{% if (!file.error) { %}' +
- '<div class="ss-uploadfield-item-status ui-state-success-text" title=""></div>' +
+ '<div class="ss-uploadfield-item-status ui-state-success-text" title="'+ss.i18n._t('UploadField.Uploaded', 'Uploaded')+'">'+ss.i18n._t('UploadField.Uploaded', 'Uploaded')+'</div>' +
'{% } else { %}' +
- '<div class="ss-uploadfield-item-status ui-state-error-text" title="{%=o.options.errorMessages[file.error] || file.error%}">{%=o.options.errorMessages[file.error] || file.error%}</div>' +
+ '<div class="ss-uploadfield-item-status ui-state-error-text" title="{%=o.options.errorMessages[file.error] || file.error%}">{%=o.options.errorMessages[file.error] || file.error%}</div>' +
'{% } %}' +
'<div class="clear"><!-- --></div>' +
'</label>' +

0 comments on commit b2fc117

Please sign in to comment.
Something went wrong with that request. Please try again.