diff --git a/public/javascripts/create_kindeditor.js b/public/javascripts/create_kindeditor.js index fdd493d8..fb5db05b 100644 --- a/public/javascripts/create_kindeditor.js +++ b/public/javascripts/create_kindeditor.js @@ -37,7 +37,7 @@ function sd_create_editor(params){ //params.toolbar_container.hide(); $('#reply_image_' + id).addClass('imageFuzzy'); if(/^\s*<\w*\s*\w*\=\"\w*\"\s*\w*\=\"\w*\:\s*\#\d*\;\s*\w*\-\w*\:\s*\w*\;\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test(this.edit.html())){ - params.submit_btn.hide(); + params.submit_btn.show(); params.toolbar_container.hide(); this.resize("100%", null); }else if(this.edit.html().trim() != ""){ @@ -74,7 +74,7 @@ function sd_create_editor(params){ $(".ke-outline>.ke-toolbar-icon",toolbar).append('表情'); params.toolbar_container.append(toolbar); params.toolbar_container.hide(); - params.submit_btn.hide(); + params.submit_btn.show(); //init var edit = this.edit; var body = edit.doc.body; @@ -124,7 +124,7 @@ function sd_create_shixun_editor(params){ sd_check_editor_form_field({content:this,contentmsg:params.contentmsg,textarea:params.textarea}); if(this.isEmpty()) { this.edit.html("我要回复"); - params.submit_btn.hide(); + params.submit_btn.show(); params.toolbar_container.hide(); this.resize("100%", "30px"); $("#dis_reply_id").val(""); @@ -180,7 +180,7 @@ function sd_create_shixun_editor(params){ $(".ke-outline>.ke-toolbar-icon",toolbar).append('表情'); params.toolbar_container.append(toolbar); params.toolbar_container.hide(); - params.submit_btn.hide(); + params.submit_btn.show(); //init var edit = this.edit; var body = edit.doc.body; @@ -432,7 +432,7 @@ function sd_create_message_editor(params){ this.edit.html("我要回复"); params.toolbar_container.hide(); this.resize("100%", "30px"); - params.submit_btn.hide(); + params.submit_btn.show(); params.notice_msg.hide(); } $('#mini_comment_section').height('auto');