* adjust for message notice.
This commit is contained in:
@@ -45,7 +45,7 @@ $(function()
|
||||
}
|
||||
else
|
||||
{
|
||||
if(data) notifyMessage(data);
|
||||
if(data && typeof data.message == 'string') notifyMessage(data.message);
|
||||
}
|
||||
});
|
||||
}, 60 * 1000);
|
||||
|
||||
@@ -90,7 +90,7 @@ class message extends control
|
||||
|
||||
if($windowBlur)
|
||||
{
|
||||
echo $messages;
|
||||
echo json_encode(array('message' => $messages));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user