Authored by linlong

update

... ... @@ -252,8 +252,8 @@
handler: function () {
var content = $("#content").val();
$.post(contextPath + "/channel/sendMessage", {groupId: id,content:content}, function (data) {
// $.messager.progress("close");
data = JSON.parse(data);
$.messager.progress("close");
// data = JSON.parse(data);
if (data.code == 200) {
$(div).dialog("close");
$("#channelGroupTalbe").myDatagrid("reload");
... ...
<!DOCTYPE html>
<form id="sendMessageForm" method="post" name="sendMessageForm" style="margin-top: 30px" enctype="multipart/form-data">
<input type="hidden" id="groupId" name="groupId" >
<table border="0" align="center" style="line-height: 30px;width:95%;">
<tr>
<td width="20%" align="left"><span class="requriedInput">*</span>短信内容:</td>
<td width="80%">
<textarea name="content" id="content" rows="12" cols="45" class="textarea" ></textarea>
</td>
</tr>
</table>
</form>
<script>
$(function(){
$("#groupId").val(window.paramObject.id);
});
</script>
\ No newline at end of file
... ...