Merge branch 'master' into 5.15
[civicrm-core.git] / js / view / crm.designer.js
index a92ac6d60676ef703cee77c3025aaab470eb14ef..3db0eb0ca1fd8bd0224cc7ef2ed5116d18ee9535 100644 (file)
@@ -1,4 +1,4 @@
-(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);