CRM-16465 - crmMailing - Update estimate when toggling dedupe_email
authorTim Otten <totten@civicrm.org>
Fri, 15 May 2015 19:57:12 +0000 (12:57 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 15 May 2015 19:57:12 +0000 (12:57 -0700)
ang/crmMailing/EditRecipCtrl.js

index 3151a8d245558dc08e8b78884a73177e2cd39d62..607ab2cb99761f2ec5f09f4025e5bf0d70a4132f 100644 (file)
@@ -45,6 +45,7 @@
         });
       });
     }, RECIPIENTS_DEBOUNCE_MS);
+    $scope.$watchCollection("mailing.dedupe_email", refreshRecipients);
     $scope.$watchCollection("mailing.recipients.groups.include", refreshRecipients);
     $scope.$watchCollection("mailing.recipients.groups.exclude", refreshRecipients);
     $scope.$watchCollection("mailing.recipients.mailings.include", refreshRecipients);