* fix for VRFS-1517 - empty notifications in sidebar

This commit is contained in:
Seth Call 2014-03-21 20:21:03 +00:00
parent 2306948f9c
commit 85cb225a3d
1 changed files with 2 additions and 2 deletions

View File

@ -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)
});