drupal-civicrm/sites/all/modules/civicrm/ang/crmMailingAB/ListCtrl.js

13 lines
472 B
JavaScript
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
(function(angular, $, _) {
angular.module('crmMailingAB').controller('CrmMailingABListCtrl', function($scope, mailingABList, crmMailingABCriteria, crmMailingABStatus, fields) {
var ts = $scope.ts = CRM.ts(null);
$scope.mailingABList = _.values(mailingABList.values);
$scope.crmMailingABCriteria = crmMailingABCriteria;
$scope.crmMailingABStatus = crmMailingABStatus;
$scope.fields = fields;
$scope.filter = {};
});
})(angular, CRM.$, CRM._);