Showing
1 changed file
with
3 additions
and
2 deletions
@@ -47,9 +47,10 @@ | @@ -47,9 +47,10 @@ | ||
47 | $.get(serverContextPath + "/grassArticleComment/addGrassArticleComment?destId=" + articleId + | 47 | $.get(serverContextPath + "/grassArticleComment/addGrassArticleComment?destId=" + articleId + |
48 | "&addType=" + 1 + "&uid=" + replyUid + "&content=" + content + "&commentId=" + commentId, function (data) { | 48 | "&addType=" + 1 + "&uid=" + replyUid + "&content=" + content + "&commentId=" + commentId, function (data) { |
49 | if (data.code != 200) { | 49 | if (data.code != 200) { |
50 | - alert(data.message); | 50 | + $.messager.alert("失败", data.message, "error"); |
51 | } else { | 51 | } else { |
52 | $.messager.show({ | 52 | $.messager.show({ |
53 | + title:"提示", | ||
53 | msg: "回复成功!", | 54 | msg: "回复成功!", |
54 | height: 120 | 55 | height: 120 |
55 | }); | 56 | }); |
@@ -64,7 +65,7 @@ | @@ -64,7 +65,7 @@ | ||
64 | } | 65 | } |
65 | 66 | ||
66 | </script> | 67 | </script> |
67 | - <div id="tt" class="easyui-layout" fit="true" style="margin:0"> | 68 | + <div id="tt" class="easyui-layout" fit="true" style="margin:0;overflow-y: scroll"> |
68 | <form name="commentReplyForm" id="commentReplyForm" fit="true" method="post"> | 69 | <form name="commentReplyForm" id="commentReplyForm" fit="true" method="post"> |
69 | <div style="margin-top: 20px;margin-left: 30px;" id="replyDiv"> | 70 | <div style="margin-top: 20px;margin-left: 30px;" id="replyDiv"> |
70 | <table border="0" style="width:95%;margin-top:5px;line-height:30px;" id="replyTable"> | 71 | <table border="0" style="width:95%;margin-top:5px;line-height:30px;" id="replyTable"> |
-
Please register or login to post a comment