From a3164ab22d1374ad9978a0d0b96c8002a116ad8e Mon Sep 17 00:00:00 2001 From: Siddhant Rajagopalan Date: Sun, 17 Aug 2014 15:19:59 +0530 Subject: [PATCH] time working properly --- js/angular-newMailing.js | 10 ++++++++++ partials/crmMailingType/sched.html | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/js/angular-newMailing.js b/js/angular-newMailing.js index 827e941dec..de0eaeeabb 100644 --- a/js/angular-newMailing.js +++ b/js/angular-newMailing.js @@ -815,6 +815,16 @@ }; }); + + crmMailing.directive('checktimeentry',function(){ + return { + restrict :'AE', + link: function (scope, element, attrs) { + $(element).timeEntry({show24Hours:true}); + } + } + }); + //This controller is used for creating the mailing list. Simply gets all the mailing data from civiAPI crmMailing.controller('mailingListCtrl', function($scope, crmApi, mailingList, $route) { if (global == 0) { diff --git a/partials/crmMailingType/sched.html b/partials/crmMailingType/sched.html index 93be2eee30..0ff114d85a 100644 --- a/partials/crmMailingType/sched.html +++ b/partials/crmMailingType/sched.html @@ -21,8 +21,11 @@ Required vars: currentMailing Time - + + -- 2.25.1