some escaping and fixed uploads in progress

This commit is contained in:
barisusakli
2014-06-12 13:58:17 -04:00
parent 3198275209
commit b9139ef263
6 changed files with 18 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ define('notifications', ['sounds'], function(sound) {
} else {
image = '';
}
notification.text = $('<div/>').text(notification.text).html();
return '<li class="' + (notification.readClass || '') + '"><a href="' + (notification.path || '#') + '">' + image + '<span class="pull-right relTime">' + utils.relativeTime(notification.datetime, true) + '</span><span class="text">' + notification.text + '</span></a></li>';
}