Skip to content

Commit

Permalink
fix: 高版本chrome浏览器上传图片,文件选择框打开过慢问题(ueditor)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Oct 21, 2016
1 parent 0987fcd commit 39b957e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/assets/plugins/ueditor/ueditor.all.js
Original file line number Diff line number Diff line change
Expand Up @@ -24430,7 +24430,7 @@ UE.plugin.register('simpleupload', function (){

wrapper.innerHTML = '<form id="edui_form_' + timestrap + '" target="edui_iframe_' + timestrap + '" method="POST" enctype="multipart/form-data" action="' + me.getOpt('serverUrl') + '" ' +
'style="' + btnStyle + '">' +
'<input id="edui_input_' + timestrap + '" type="file" accept="image/*" name="' + me.options.imageFieldName + '" ' +
'<input id="edui_input_' + timestrap + '" type="file" accept="image/jpg,image/jpeg,image/png" name="' + me.options.imageFieldName + '" ' +
'style="' + btnStyle + '">' +
'</form>' +
'<iframe id="edui_iframe_' + timestrap + '" name="edui_iframe_' + timestrap + '" style="display:none;width:0;height:0;border:0;margin:0;padding:0;position:absolute;"></iframe>';
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/assets/plugins/ueditor/ueditor.all.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39b957e

Please sign in to comment.