|
|
|
@ -104,7 +104,8 @@ function nh_check_field(params){
|
|
|
|
|
result=false;
|
|
|
|
|
}
|
|
|
|
|
if(params.content.html()!=params.textarea.html() || params.issubmit==true){
|
|
|
|
|
params.textarea.html(params.content.html());
|
|
|
|
|
// params.textarea.html(params.content.html()); //用这个ie11提交到服务器居然木有值 真特么旧梦已尘风
|
|
|
|
|
params.content.sync(); //但是这个貌似编辑器没内容时不会同步到textarea中 新愁不言中...
|
|
|
|
|
if(params.content.isEmpty()){
|
|
|
|
|
params.contentmsg.html('内容不能为空');
|
|
|
|
|
params.contentmsg.css({color:'#ff0000'});
|
|
|
|
|