From 2d36e6bc6e4cdedd6b11f72b6572f2c2261c0dd4 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 30 Oct 2014 13:50:54 -0700 Subject: [PATCH] CRM-15578 - crmMailing2 - Better buttons in skeleton --- js/angular-crmMailing2.js | 16 +++++++++++++++- partials/crmMailing2/edit.html | 9 +++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/js/angular-crmMailing2.js b/js/angular-crmMailing2.js index d017a84552..d1e806d6cb 100644 --- a/js/angular-crmMailing2.js +++ b/js/angular-crmMailing2.js @@ -53,7 +53,21 @@ crmMailing2.controller('EditMailingCtrl', function ($scope, selectedMail) { $scope.partialUrl = partialUrl; $scope.ts = CRM.ts('CiviMail'); - $scope.deleteMe = 'deleteMe'; + $scope.send = function() { + CRM.alert('Send!'); + }; + $scope.save = function() { + CRM.alert('Save!'); + }; + $scope.cancel = function() { + CRM.alert('Cancel!'); + }; + $scope.leave = function() { + window.location = CRM.url('civicrm/mailing/browse/unscheduled', { + reset: 1, + scheduled: 'false' + }); + }; }); })(angular, CRM.$, CRM._); diff --git a/partials/crmMailing2/edit.html b/partials/crmMailing2/edit.html index ffdfb59e6f..011498cd93 100644 --- a/partials/crmMailing2/edit.html +++ b/partials/crmMailing2/edit.html @@ -33,14 +33,11 @@
- +
- - + + \ No newline at end of file -- 2.25.1