Merge pull request #22808 from colemanw/searchKitMailingTask
[civicrm-core.git] / ang / crmMailing / PreviewComponentDialogCtrl.js
1 (function(angular, $, _) {
2
3 // Controller for the "Preview Mailing Component" dialog
4 // Note: Expects $scope.model to be an object with properties:
5 // - "name"
6 // - "subject"
7 // - "body_html"
8 // - "body_text"
9 angular.module('crmMailing').controller('PreviewComponentDialogCtrl', function PreviewComponentDialogCtrl($scope) {
10 $scope.ts = CRM.ts(null);
11 });
12
13 })(angular, CRM.$, CRM._);