Add instructions for how to access file post-upload

This commit is contained in:
Leon Miller-Out
2013-09-27 10:15:33 -04:00
parent 72729d5510
commit 4d8677965c
2 changed files with 6 additions and 1 deletions
@@ -102,6 +102,10 @@
html += '<input type=file name="' + name + '">'; html += '<input type=file name="' + name + '">';
html += '</form>'; html += '</form>';
if( fieldAttributes.context ){
html += '<span class="context">' + fieldAttributes.context + '</span>';
}
return html; return html;
}, },
@@ -154,7 +154,8 @@ $(document).ready(function() {
title: 'Upload File', title: 'Upload File',
fields: [ fields: [
{ {
type: 'file' type: 'file',
context: 'Your uploaded file will be accessible at /uploads/[filename]'
} }
], ],
OK: function( res ) { OK: function( res ) {