Commit 6da550cc by 李洋

111

parent d4a2163b
Showing with 3 additions and 3 deletions
...@@ -24,18 +24,18 @@ $('#msg_tpl_submit').click(function() ...@@ -24,18 +24,18 @@ $('#msg_tpl_submit').click(function()
{ {
if($("#inner-tpl-type option:selected").val()==0) if($("#inner-tpl-type option:selected").val()==0)
{ {
Prompt('请选择消息类型', 5); Prompt('请选择站内信类型', 5);
return false; return false;
} }
if(!$('#inner-tpl-title').val()) if(!$('#inner-tpl-title').val())
{ {
Prompt('请填写消息标题', 5); Prompt('请填写站内信标题', 5);
return false; return false;
} }
var ue = UE.getEditor('inner-tpl-content'); var ue = UE.getEditor('inner-tpl-content');
if(!ue.getContent()) if(!ue.getContent())
{ {
Prompt('请填写消息内容', 5); Prompt('请填写站内信内容', 5);
return false; return false;
} }
if(!$("input[id='inner-tpl-op-url']").is(':checked') && !$("input[id='inner-tpl-op-open']").is(':checked')) if(!$("input[id='inner-tpl-op-url']").is(':checked') && !$("input[id='inner-tpl-op-open']").is(':checked'))
......
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 sign in to comment