From: GenericUK Date: Wed, 5 Nov 2014 15:17:27 +0000 (+0000) Subject: Profile select search field is disabled X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=852cbcc6690cd94d46021437c1ebff63d26e7533;p=civicrm-core.git Profile select search field is disabled Fixes an issue in events online registration profile selector, on already saved profiles the search field is disabled by readonly attribute. --- diff --git a/js/view/crm.profile-selector.js b/js/view/crm.profile-selector.js index befceec4ce..764c649bc4 100644 --- a/js/view/crm.profile-selector.js +++ b/js/view/crm.profile-selector.js @@ -101,7 +101,7 @@ } }, disableForm: function() { - this.$(':input', '.crm-profile-selector-preview-pane').prop('readOnly', true); + this.$(':input', '.crm-profile-selector-preview-pane').not('.select2-input').prop('readOnly', true); }, doEdit: function(e) { e.preventDefault();