From a2054e782f5ea50992f95ca4062b96ba8827920b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 28 Jul 2013 18:42:47 -0700 Subject: [PATCH] Notification name will default to implemenation name --- UI/Settings/Notifications/AddItemView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/Settings/Notifications/AddItemView.js b/UI/Settings/Notifications/AddItemView.js index f58ff758a..dea64786c 100644 --- a/UI/Settings/Notifications/AddItemView.js +++ b/UI/Settings/Notifications/AddItemView.js @@ -23,7 +23,11 @@ define([ return; } - this.model.set('id', undefined); + this.model.set({ + id: undefined, + name: this.model.get('implementationName') + }); + var editView = new EditView({ model: this.model, notificationCollection: this.notificationCollection }); App.modalRegion.show(editView); }