Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27169 filepicker - add explicit enctype to the js upload form. Cr…

…edit goes to J Ross Nicoll, thanks!
  • Loading branch information...
commit 25ebb1df63e2f9374d8d88ad9922f1112ec64832 1 parent cc50a2f
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  repository/filepicker.js
View
2  repository/filepicker.js
@@ -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>';
Please sign in to comment.
Something went wrong with that request. Please try again.