Skip to content

Commit

Permalink
修复word图片上传的单位错误
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Sep 30, 2014
1 parent 759bc65 commit 70506f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialogs/wordimage/wordimage.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
optImageUrl = editor.getActionUrl(editor.getOpt('imageActionName')),
optImageFieldName = editor.getOpt('imageFieldName'),
optImageCompressBorder = editor.getOpt('imageCompressEnable') ? editor.getOpt('imageCompressBorder'):null,
maxSize = editor.getOpt('imageMaxSize') / 1024,
maxSize = editor.getOpt('imageMaxSize') / 1024 / 1024,
extension = editor.getOpt('imageAllowFiles').join(';').replace(/\./g, '*.');

/* 添加额外的GET参数 */
Expand Down

0 comments on commit 70506f3

Please sign in to comment.