Merge pull request #17283 from agh1/stop-icon-png
[civicrm-core.git] / ang / crmMailing / PreviewComponentDialogCtrl.js
CommitLineData
6b8bd380
TO
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._);