|
|
@ -379,6 +379,7 @@ function sd_create_editor_from_message_data(id){
|
|
|
|
params.toolbar_container = $("div[nhname='toolbar_container_" + id + "']", params.div_form);
|
|
|
|
params.toolbar_container = $("div[nhname='toolbar_container_" + id + "']", params.div_form);
|
|
|
|
params.cancel_btn = $("#new_message_cancel_btn_" + id);
|
|
|
|
params.cancel_btn = $("#new_message_cancel_btn_" + id);
|
|
|
|
params.submit_btn = $("#new_message_submit_btn_" + id);
|
|
|
|
params.submit_btn = $("#new_message_submit_btn_" + id);
|
|
|
|
|
|
|
|
params.notice_msg = $("#new_message_notice_" + id);
|
|
|
|
params.height = height;
|
|
|
|
params.height = height;
|
|
|
|
params.width = width;
|
|
|
|
params.width = width;
|
|
|
|
if (params.textarea.data('init') == undefined) {
|
|
|
|
if (params.textarea.data('init') == undefined) {
|
|
|
@ -432,6 +433,7 @@ function sd_create_message_editor(params){
|
|
|
|
params.toolbar_container.hide();
|
|
|
|
params.toolbar_container.hide();
|
|
|
|
this.resize("100%", "30px");
|
|
|
|
this.resize("100%", "30px");
|
|
|
|
params.submit_btn.hide();
|
|
|
|
params.submit_btn.hide();
|
|
|
|
|
|
|
|
params.notice_msg.hide();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$('#mini_comment_section').height('auto');
|
|
|
|
$('#mini_comment_section').height('auto');
|
|
|
|
|
|
|
|
|
|
|
@ -457,6 +459,7 @@ function sd_create_message_editor(params){
|
|
|
|
$(".private-list").css("max-height",$("#dialogPanel").height());
|
|
|
|
$(".private-list").css("max-height",$("#dialogPanel").height());
|
|
|
|
|
|
|
|
|
|
|
|
params.submit_btn.show();
|
|
|
|
params.submit_btn.show();
|
|
|
|
|
|
|
|
params.notice_msg.show();
|
|
|
|
|
|
|
|
|
|
|
|
$('#mini_comment_section').height('240px')
|
|
|
|
$('#mini_comment_section').height('240px')
|
|
|
|
},
|
|
|
|
},
|
|
|
|