##// END OF EJS Templates
files: fix problem with specifing custom path for filename....
marcink -
r1688:b6ddc59f default
parent child Browse files
Show More
@@ -660,6 +660,7 b' class FilesController(BaseRepoController'
660 660 file_obj = r_post.get('upload_file', None)
661 661
662 662 if file_obj is not None and hasattr(file_obj, 'filename'):
663 filename = r_post.get('filename_upload')
663 664 content = file_obj.file
664 665
665 666 if hasattr(content, 'file'):
@@ -59,7 +59,7 b''
59 59 ${_('Filename')}:
60 60 </div>
61 61 <div class="right-content">
62 <input class="input-small" type="text" value="" size="46" name="filename" id="filename_upload" placeholder="${_('No file selected')}">
62 <input class="input-small" type="text" value="" size="46" name="filename_upload" id="filename_upload" placeholder="${_('No file selected')}">
63 63 </div>
64 64 <div class="filename-label left-label file-upload-label">
65 65 ${_('Upload file')}:
General Comments 0
You need to be logged in to leave comments. Login now