drupal-civicrm/sites/all/modules/civicrm/ang/crmMailing/PreviewMailingDialogCtrl.js
2018-01-14 13:10:16 +00:00

13 lines
381 B
JavaScript

(function(angular, $, _) {
// Controller for the "Preview Mailing" dialog
// Note: Expects $scope.model to be an object with properties:
// - "subject"
// - "body_html"
// - "body_text"
angular.module('crmMailing').controller('PreviewMailingDialogCtrl', function PreviewMailingDialogCtrl($scope) {
$scope.ts = CRM.ts(null);
});
})(angular, CRM.$, CRM._);