$(function(){
editor=loadEditor('grouptopiccomment_content');
$(".face-icon").jqfaceedit({txtAreaObj:editor,containerObj:$('#emotion_parentcontainer'),top:25,left:-27});
});
function update(){
$("#submit_button").attr("disabled", "disabled");
$("#submit_button").val( 'update...' );
$('#grouptopiccomment_content').val(editor.html());
Dyhb.AjaxSubmit('grouptopiccommentAdd','','',function(){
$("#submit_button").attr("disabled", false);
$("#submit_button").val( '更新' );
setTimeout("window.location.replace(_SELF_);",1000);
});
}
function insertGrouptopiccommentcontentattachment(nAttachmentid){
insertAttachment(editor,nAttachmentid);
}
function insertGrouptopiccommentcontentmusic(sContent){
insertMusic(editor,sContent);
}
function insertGrouptopiccommentcontentvideo(sContent){
insertVideo(editor,sContent);
}