Skip to content

Commit

Permalink
fix receivedMessage datetime bug
Browse files Browse the repository at this point in the history
  • Loading branch information
good-life committed Dec 24, 2012
1 parent c5a8b0a commit 9176a87
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions server-java/src/org/pushtalk/server/web/template/chatting.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<hr />

<div id="chatPanel">
<div id="chatView"></div>
<div id="chatView">加载聊天记录中...</div>
</div>
<div id="chatActions">
<a class="shortcut">^_^</a>
Expand All @@ -180,10 +180,6 @@
</script>

<script>
<#if channelEntered ??>
pushtalk.channelUpdated();
</#if>

$(function() {
var exports = window;
//请求所需参数
Expand Down Expand Up @@ -327,7 +323,8 @@
title: msg.title,
content: msg.message,
channel: msg.extras.channel,
status: chatMsgStatus.success
status: chatMsgStatus.success,
time: differTime + (+new Date)
}
saveChat(chat);

Expand Down Expand Up @@ -612,6 +609,10 @@
})
});
});

<#if channelEntered ??>
pushtalk.channelUpdated();
</#if>
</script>
</body>
</html>

0 comments on commit 9176a87

Please sign in to comment.