From 131bbe06eaae6d8adf78340cfa7f89c074fddf83 Mon Sep 17 00:00:00 2001 From: Siddhant Rajagopalan Date: Tue, 26 Aug 2014 18:42:57 +0530 Subject: [PATCH] removed cons --- js/angular-Mailing.js | 12 ------------ partials/crmMailing/sched.html | 6 +++--- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/js/angular-Mailing.js b/js/angular-Mailing.js index 37a8b278ce..325e485507 100644 --- a/js/angular-Mailing.js +++ b/js/angular-Mailing.js @@ -99,8 +99,6 @@ $scope.from.email = $scope.currentMailing.from_email; $scope.from.total = '"'+ $scope.from.name +'"' + " <" + $scope.from.email + ">"; $scope.reply.email = $scope.currentMailing.replyto_email; - console.log($scope.from.total); - console.log($scope.reply.email); } $scope.mailid = []; @@ -141,7 +139,6 @@ chck2.push(b); } $scope.incGroup = chck2; - console.log($scope.currentMailing); $scope.mailingForm = function() { if ($scope.mailing_form.$valid) { @@ -692,15 +689,6 @@ scope.$evalAsync('_resetSelection()'); var a = $(element).attr('id'); if(a=="htgroup"){ - /* var msg = document.getElementById("body_html").value; - var cursorlen = document.getElementById("body_html").selectionStart; - var textlen = msg.length; - document.getElementById("body_html").value = msg.substring(0, cursorlen) + e.val + msg.substring(cursorlen, textlen); - scope.currentMailing.body_html = msg.substring(0, cursorlen) + e.val + msg.substring(cursorlen, textlen); - var cursorPos = (cursorlen + e.val.length); - document.getElementById("body_html").selectionStart = cursorPos; - document.getElementById("body_html").selectionEnd = cursorPos; - document.getElementById("body_html").focus();*/ if(scope.currentMailing.body_html =="" || scope.currentMailing.body_html == null) scope.currentMailing.body_html = e.val; else diff --git a/partials/crmMailing/sched.html b/partials/crmMailing/sched.html index 4889165336..94386ce4ce 100644 --- a/partials/crmMailing/sched.html +++ b/partials/crmMailing/sched.html @@ -31,9 +31,9 @@ Required vars: currentMailing - +
+ Enter the time in the 12:32 format where 12 is the hour, 32 the minutes. +

-- 2.25.1