Skip to content

Commit

Permalink
MDL-27169 filepicker - add explicit enctype to the js upload form. Cr…
Browse files Browse the repository at this point in the history
…edit goes to J Ross Nicoll, thanks!
  • Loading branch information
stronk7 committed Jun 22, 2011
1 parent 3552484 commit a8f3f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/filepicker.js
Expand Up @@ -1122,7 +1122,7 @@ M.core_filepicker.init = function(Y, options) {
this.print_header();
var id = data.upload.id+'_'+client_id;
var str = '<div id="'+id+'_div" class="fp-upload-form mdl-align">';
str += '<form id="'+id+'" method="POST">';
str += '<form id="'+id+'" enctype="multipart/form-data" method="POST">';
str += '<table width="100%">';
str += '<tr><td class="mdl-right">';
str += '<label for="'+id+'_file">'+data.upload.label+': </label></td>';
Expand Down

0 comments on commit a8f3f4c

Please sign in to comment.