Browse Source

HUE-244. "Web 1.0" file upload functionality broken

Philip Zeyliger 15 years ago
parent
commit
78c10b67a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/filebrowser/src/filebrowser/templates/upload.mako

+ 2 - 2
apps/filebrowser/src/filebrowser/templates/upload.mako

@@ -22,7 +22,7 @@ ${comps.header('Upload Files')}
   <h4 class="ccs-hidden">Upload Files</h4>
   <h4 class="ccs-hidden">Upload Files</h4>
   <dl>
   <dl>
     ${edit.render_field(form["dest"], hidden=True)}
     ${edit.render_field(form["dest"], hidden=True)}
-    ${edit.render_field(form["file"], notitle=True)}
+    ${edit.render_field(form["file"], render_default=True, notitle=True)}
   </dl>
   </dl>
   <input class="ccs-hidden" type="submit" value="Submit" />
   <input class="ccs-hidden" type="submit" value="Submit" />
 </form>
 </form>
@@ -31,4 +31,4 @@ ${comps.header('Upload Files')}
 <div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 <div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 
 
-${comps.footer()}
+${comps.footer()}