|
@@ -380,7 +380,10 @@ App.Router = Em.Router.extend({
|
|
'<div class="modal-footer">' +
|
|
'<div class="modal-footer">' +
|
|
'<button class="btn btn-success" {{action onPrimary target="view"}}>' + buttonText + '</button>'+
|
|
'<button class="btn btn-success" {{action onPrimary target="view"}}>' + buttonText + '</button>'+
|
|
'</div>'
|
|
'</div>'
|
|
- )
|
|
|
|
|
|
+ ),
|
|
|
|
+ onPrimary: function() {
|
|
|
|
+ this.get('parentView').onPrimary();
|
|
|
|
+ }
|
|
}),
|
|
}),
|
|
|
|
|
|
onPrimary: function () {
|
|
onPrimary: function () {
|