result._collection = this.collection;
result._options = this.options;
return result;
- }
+ };
/**
* Display a dialog window with an editable form for a UFGroupModel
});
}
designerDialog.undoState = false;
+ // CRM-12188
+ CRM.designerApp.DetachedProfiles = [];
},
close: function() {
window.onbeforeunload = designerDialog.oldOnBeforeUnload;
return false;
});
}
+ // CRM-12188
+ CRM.designerApp.restorePreviewArea();
},
resize: function() {
CRM.designerApp.vent.trigger('resize');
}
var $dialog = this.$el.closest('.crm-designer-dialog'); // FIXME use events
$dialog.block({message: 'Loading...', theme: true});
+ // CRM-12188
+ CRM.designerApp.clearPreviewArea();
$.ajax({
url: CRM.url("civicrm/ajax/inline"),
type: 'POST',