From ed619003b4e937004a3f929364165c51c950ac06 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 15 Mar 2013 14:35:54 -0700 Subject: [PATCH] Only set appropriate fields --- js/model/crm.designer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/model/crm.designer.js b/js/model/crm.designer.js index 8d1eb1f093..03f8fc6ccb 100644 --- a/js/model/crm.designer.js +++ b/js/model/crm.designer.js @@ -60,7 +60,7 @@ name = this.get('fieldName').split('_'); if (name[0] === 'custom') { CRM.api('custom_field', 'getsingle', {id: name[1]}, {success: function(field) { - ufFieldModel.set(field); + ufFieldModel.set(_.pick(field, 'help_pre', 'help_post', 'is_required')); }}); } return ufFieldModel; -- 2.25.1