-
- $pane.block({message: ts('Loading...'), theme: true});
- $.ajax({
- url: CRM.url("civicrm/ajax/inline"),
- type: 'GET',
- data: {
- class_name: 'CRM_UF_Form_Inline_PreviewById',
- id: this.getUfGroupId(),
- snippet: 4
- }
- }).done(function(data) {
- $pane
- .unblock()
- .html(data)
- .click(function() {
- return false; // disable buttons
- });
- });
- return false;