This commit is contained in:
Peter Cottle 2013-01-10 23:55:31 -08:00
parent 31aba06d45
commit 5242afc2f1
4 changed files with 279 additions and 156 deletions

View file

@ -317,11 +317,11 @@ var MultiViewBuilder = ContainedBase.extend({
},
setChildViews: function(newArray) {
this.multiViewJSON.childViewJSONs = newArray;
this.multiViewJSON.childViews = newArray;
},
getChildViews: function() {
return this.multiViewJSON.childViewJSONs || [];
return this.multiViewJSON.childViews || [];
},
update: function() {

View file

@ -358,7 +358,7 @@ var ConfirmCancelTerminal = Backbone.View.extend({
this.modalAlert = new ModalAlert(_.extend(
{},
{ markdown: '#you sure?' },
options.modalAlert
options
));
var buttonDefer = Q.defer();