-(function($, _) {
+(function($, _, Backbone) {
if (!CRM.Designer) CRM.Designer = {};
/**
initialize: function() {
this.form = new Backbone.Form({
model: this.model,
- fields: ['title', 'help_pre', 'help_post', 'is_active']
+ fields: ['title', 'frontend_title', 'help_pre', 'help_post', 'is_active']
});
this.form.on('change', this.form.commit, this.form);
},
}
});
-})(CRM.$, CRM._);
+})(CRM.$, CRM._, CRM.BB);