add existing is almost done.

This commit is contained in:
Keivan Beigi 2013-01-31 19:15:19 -08:00 committed by kay.one
parent 023eaca678
commit 4176e7e9e4
12 changed files with 98 additions and 57 deletions

View file

@ -3,7 +3,9 @@ NzbDrone.Shared.NotificationModel = Backbone.Model.extend({
mutators: {
pre: function () {
return this.get('message').lines().lenght > 1;
if (this.get('message')) {
return this.get('message').lines().lenght > 1;
}
},
iconClass: function () {