Commit 5a830594 authored by libin's avatar libin

图片与视频上传配置修改

parent ecd5731f
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -376,7 +376,7 @@
})(),
// WebUploader实例
uploader,
actionUrl = editor.getActionUrl(editor.getOpt('videoActionName')),
actionUrl = '/' + editor.getActionUrl(editor.getOpt('videoActionName')),
fileMaxSize = editor.getOpt('videoMaxSize'),
acceptExtensions = (editor.getOpt('videoAllowFiles') || []).join('').replace(/\./g, ',').replace(/^[,]/, '');
;
......@@ -395,7 +395,7 @@
label: lang.uploadSelectFile
},
swf: '../../third-party/webuploader/Uploader.swf',
server: '/' + actionUrl,
server: actionUrl,
fileVal: editor.getOpt('videoFieldName'),
duplicate: true,
fileSingleSizeLimit: fileMaxSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment