show: function() {
this.setElement(this.template(_.extend({
executeButtonText: null,
- cancelButtonText: null
+ cancelButtonText: null,
+ cssClass: '',
+ closeButton: true
}, this.options)));
var body = this.$('.modal-body');
this.$('.btn, button').toggleClass('disabled', !toggle);
this.$('textarea').attr('disabled', !toggle);
this.actionsDisabled = !toggle;
+ },
+ setContentView: function(view) {
+ var body = this.$('.modal-body');
+ body.append(view);
}
});