Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
5a830594
Commit
5a830594
authored
Sep 10, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片与视频上传配置修改
parent
ecd5731f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1094 additions
and
1085 deletions
+1094
-1085
image.js
static/utf8-jsp/dialogs/image/image.js
+1092
-1083
video.js
static/utf8-jsp/dialogs/video/video.js
+2
-2
No files found.
static/utf8-jsp/dialogs/image/image.js
View file @
5a830594
This source diff could not be displayed because it is too large. You can
view the blob
instead.
static/utf8-jsp/dialogs/video/video.js
View file @
5a830594
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment