Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6da550cc
authored
Dec 07, 2017
by
李洋
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
d4a2163b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
public/js/Message/addtemplate.js
public/js/Message/addtemplate.js
View file @
6da550cc
...
...
@@ -24,18 +24,18 @@ $('#msg_tpl_submit').click(function()
{
if
(
$
(
"#inner-tpl-type option:selected"
).
val
()
==
0
)
{
Prompt
(
'请选择
消息
类型'
,
5
);
Prompt
(
'请选择
站内信
类型'
,
5
);
return
false
;
}
if
(
!
$
(
'#inner-tpl-title'
).
val
())
{
Prompt
(
'请填写
消息
标题'
,
5
);
Prompt
(
'请填写
站内信
标题'
,
5
);
return
false
;
}
var
ue
=
UE
.
getEditor
(
'inner-tpl-content'
);
if
(
!
ue
.
getContent
())
{
Prompt
(
'请填写
消息
内容'
,
5
);
Prompt
(
'请填写
站内信
内容'
,
5
);
return
false
;
}
if
(
!
$
(
"input[id='inner-tpl-op-url']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='inner-tpl-op-open']"
).
is
(
':checked'
))
...
...
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