* fix for VRFS-1517 - empty notifications in sidebar
This commit is contained in:
parent
2306948f9c
commit
85cb225a3d
|
|
@ -141,7 +141,7 @@
|
|||
$.each(response, function(index, val) {
|
||||
|
||||
if(val.description == 'TEXT_MESSAGE') {
|
||||
val.formatted_msg = textMessageDialog.formatTextMessage(val.message.substring(0, 200), val.source_user_id, val.source_user.name, val.message.length > 200);
|
||||
val.formatted_msg = textMessageDialog.formatTextMessage(val.message.substring(0, 200), val.source_user_id, val.source_user.name, val.message.length > 200).html();
|
||||
}
|
||||
|
||||
// fill in template for Connect pre-click
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
notificationId: val.notification_id,
|
||||
sessionId: val.session_id,
|
||||
avatar_url: context.JK.resolveAvatarUrl(val.photo_url),
|
||||
text: val.formatted_msg.html(),
|
||||
text: val.formatted_msg,
|
||||
date: $.timeago(val.created_at)
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue