TEXTCUBE。回覆按鈕點擊後隱藏
dress($prefix1 . '_onclick_submit', "addComment(this, $entryId);return false;", $commentView);
新增 ;this.style.display='none' ,如下:dress($prefix1 . '_onclick_submit', "addComment(this, $entryId);this.style.display='none';return false;", $commentView);
再修正,沒輸入名字點選回覆按鈕消失不會回來,企鵝大大提供^^
修改根目錄下 script/common2.js
request.onError = function() {
alert(this.getText("/response/description"));
}
新增一行 caller.style.display="block"; ,如下:alert(this.getText("/response/description"));
}
request.onError = function() {
alert(this.getText("/response/description"));
caller.style.display="block";
}
alert(this.getText("/response/description"));
caller.style.display="block";
}