bug#2827:IE浏览器:讨论区:点击回复时,编辑器下面会出现内容不能为空

This commit is contained in:
yutao 2015-06-17 15:42:52 +08:00
parent a197140eba
commit 3b3b8661c8
4 changed files with 4 additions and 0 deletions

View File

@ -123,6 +123,7 @@ function nh_check_field(params){
function nh_init_board(params){
//发帖/编辑/回复按钮的click
params.showbtn.click(function(){
params.textarea.removeAttr('placeholder');
if(params.textarea.data('init') == undefined){
//初始化编辑器
var editor = params.kindutil.create(params.textarea, {

View File

@ -56,6 +56,7 @@
$(function(){
function init_editor(params){
params.textarea.removeAttr('placeholder');
var editor = params.kindutil.create(params.textarea, {
resizeType : 1,minWidth:"1px",width:"100%",height:"150px",
items:['emoticons'],

View File

@ -45,6 +45,7 @@
$(function(){
function init_editor(params){
params.textarea.removeAttr('placeholder');
var editor = params.kindutil.create(params.textarea, {
resizeType : 1,minWidth:"1px",width:"100%",height:"150px",
items:['emoticons'],

View File

@ -69,6 +69,7 @@
$(function(){
function init_editor(params){
params.textarea.removeAttr('placeholder');
var editor = params.kindutil.create(params.textarea, {
resizeType : 1,minWidth:"1px",width:"100%",height:"150px",
items:['emoticons'],