Added links and api key links to notifications

This commit is contained in:
Mark McDowall 2013-07-27 13:57:41 -07:00
parent 35d29df864
commit 625acef635
23 changed files with 90 additions and 9 deletions

View file

@ -18,7 +18,11 @@ define([
this.notificationCollection = options.notificationCollection;
},
addNotification: function () {
addNotification: function (e) {
if ($(e.target).hasClass('icon-info-sign')) {
return;
}
this.model.set('id', undefined);
var editView = new EditView({ model: this.model, notificationCollection: this.notificationCollection });
App.modalRegion.show(editView);