memcached_alan
yutao 10 years ago
parent b9337c8121
commit 51a717c3dc

@ -97,12 +97,12 @@ function nh_check_field(params){
}
if(params.content!=undefined){
if($.trim(params.content.html()) == ""){
if(params.content.isEmpty()){
result=false;
}
if(params.content.html()!=params.textarea.html() || params.issubmit==true){
params.textarea.html(params.content.html());
if($.trim(params.content.html()) == ""){
if(params.content.isEmpty()){
params.contentmsg.html('内容不能为空');
params.contentmsg.css({color:'#ff0000'});
}else{

Loading…
Cancel
Save