Notification name will default to implemenation name

This commit is contained in:
Mark McDowall 2013-07-28 18:42:47 -07:00
parent 3efbf43e0b
commit a2054e782f
1 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,11 @@ define([
return; 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 }); var editView = new EditView({ model: this.model, notificationCollection: this.notificationCollection });
App.modalRegion.show(editView); App.modalRegion.show(editView);
} }