drupal-civicrm/sites/all/modules/civicrm/ang/crmMailing/CreateMailingCtrl.js

9 lines
261 B
JavaScript
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
(function(angular, $, _) {
angular.module('crmMailing').controller('CreateMailingCtrl', function EditMailingCtrl($scope, selectedMail, $location) {
$location.path("/mailing/" + selectedMail.id);
$location.replace();
});
})(angular, CRM.$, CRM._);