메시지함 사라지는 버그 수정?
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ function redrawMsg(deferred){
|
|||||||
var $msgs = msgSource.map(function(msg){
|
var $msgs = msgSource.map(function(msg){
|
||||||
|
|
||||||
var contactTarget = (msg.src.id != myGeneralID) ? msg.src.id : msg.dest.id;
|
var contactTarget = (msg.src.id != myGeneralID) ? msg.src.id : msg.dest.id;
|
||||||
if(needRefreshLastContact && contactTarget != myGeneralID)
|
if(needRefreshLastContact && contactTarget != myGeneralID && contactTarget in generalList)
|
||||||
{
|
{
|
||||||
needRefreshLastContact = false;
|
needRefreshLastContact = false;
|
||||||
$('#last_contact').val(contactTarget).html(generalList[contactTarget].textName).show();
|
$('#last_contact').val(contactTarget).html(generalList[contactTarget].textName).show();
|
||||||
|
|||||||
Reference in New Issue
Block a user