From 858a9a310cec13e53210e5d16607cacebb208470 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 29 Apr 2014 12:02:05 -0700 Subject: [PATCH] Fix profileSelector and select2 --- js/view/crm.profile-selector.js | 1 + templates/CRM/UF/Page/ProfileTemplates.tpl | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/js/view/crm.profile-selector.js b/js/view/crm.profile-selector.js index 1a675d461a..1b76bbcf6d 100644 --- a/js/view/crm.profile-selector.js +++ b/js/view/crm.profile-selector.js @@ -73,6 +73,7 @@ }, setUfGroupId: function(value, options) { this.options.ufGroupId = value; + this.$('.crm-profile-selector-select select').val(value); this.$('.crm-profile-selector-select select').select2('val', value, (!options || !options.silent)); }, getUfGroupId: function() { diff --git a/templates/CRM/UF/Page/ProfileTemplates.tpl b/templates/CRM/UF/Page/ProfileTemplates.tpl index 06a0f782fb..cdefd62113 100644 --- a/templates/CRM/UF/Page/ProfileTemplates.tpl +++ b/templates/CRM/UF/Page/ProfileTemplates.tpl @@ -133,10 +133,6 @@ <%= title %> - - {** * Variables correspond to properties of CRM.ProfileSelector.DummyModel *} -- 2.25.1