+ doShowPreview: function() {
+ var $preview = this.$('.crm-profile-selector-preview');
+ var $pane = this.$('.crm-profile-selector-preview-pane');
+ if ($preview.hasClass('crm-profile-selector-preview-show')) {
+ $preview.removeClass('crm-profile-selector-preview-show');
+ $pane.show();
+ } else {
+ $preview.addClass('crm-profile-selector-preview-show');
+ $pane.hide();
+ }
+ },
+ disableForm: function() {
+ this.$(':input', '.crm-profile-selector-preview-pane').prop('readOnly', true);
+ },
+ doEdit: function(e) {
+ e.preventDefault();