$("#comment-edit-text-" + id).val(tmpStr + ins);
}
- function qCommentInsert(obj,id) {
- var tmpStr = $("#comment-edit-text-" + id).val();
- if (tmpStr == "") {
- $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
- $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
- openMenu("comment-edit-submit-wrapper-" + id);
- }
- var ins = $(obj).val();
- ins = ins.replace("<","<");
- ins = ins.replace(">",">");
- ins = ins.replace("&","&");
- ins = ins.replace(""","\"");
- $("#comment-edit-text-" + id).val(tmpStr + ins);
- $(obj).val("");
- }
-
function showHideCommentBox(id) {
if ($("#comment-edit-form-" + id).is(":visible")) {
$("#comment-edit-form-" + id).hide();