X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fview%2Fcrm.designer.js;h=9d43b92bf06322c2066a6626cd5a454842d8779a;hb=f45f035d28405dba9a85ef867465a6b0022f1461;hp=a92ac6d60676ef703cee77c3025aaab470eb14ef;hpb=38e3b733d59dc8bd7b59117be948831396787d2b;p=civicrm-core.git diff --git a/js/view/crm.designer.js b/js/view/crm.designer.js index a92ac6d606..9d43b92bf0 100644 --- a/js/view/crm.designer.js +++ b/js/view/crm.designer.js @@ -1,4 +1,4 @@ -(function($, _) { +(function($, _, Backbone) { if (!CRM.Designer) CRM.Designer = {}; /** @@ -370,7 +370,7 @@ "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 () { @@ -866,7 +866,7 @@ 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); }, @@ -875,4 +875,4 @@ } }); -})(CRM.$, CRM._); +})(CRM.$, CRM._, CRM.BB);