-(function($, _) {
+(function($, _, Backbone) {
if (!CRM.Designer) CRM.Designer = {};
/**
"theme": 'classic',
"dots": false,
"icons": false,
- "url": CRM.config.resourceBase + 'packages/jquery/plugins/jstree/themes/classic/style.css'
+ "url": CRM.config.packagesBase + 'jquery/plugins/jstree/themes/classic/style.css'
},
'plugins': ['themes', 'json_data', 'ui', 'search']
}).bind('loaded.jstree', function () {
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);