Skip to content

Commit

Permalink
Merge pull request #10014 from totten/master-email-recip
Browse files Browse the repository at this point in the history
CRM-20299 - CiviMail UI - Cleanup "Location Type" and "Selection Method"
  • Loading branch information
eileenmcnaughton authored Mar 19, 2017
2 parents ad16923 + beaddff commit 714ec13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ang/crmMailing/EditRecipCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
});
}, RECIPIENTS_DEBOUNCE_MS);
$scope.$watchCollection("mailing.dedupe_email", refreshRecipients);
$scope.$watchCollection("mailing.location_type_id", refreshRecipients);
$scope.$watchCollection("mailing.email_selection_method", refreshRecipients);
$scope.$watchCollection("mailing.recipients.groups.include", refreshRecipients);
$scope.$watchCollection("mailing.recipients.groups.exclude", refreshRecipients);
$scope.$watchCollection("mailing.recipients.mailings.include", refreshRecipients);
Expand Down
3 changes: 0 additions & 3 deletions ang/crmMailing/EditRecipOptionsDialogCtrl.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
crm-ui-select="{dropdownAutoWidth : true}"
name="location_type_id"
ng-model="model.mailing.location_type_id"
required
>

<option value="">{{ts('Automatic')}}</option>
<option ng-repeat="locType in model.fields.location_type_id.options"
ng-value="locType.key">{{locType.value}}</option>
Expand All @@ -32,7 +30,6 @@
crm-ui-select=""
name="email_selection_method"
ng-model="model.mailing.email_selection_method"
required
>
<option ng-repeat="selMet in model.fields.email_selection_method.options"
ng-value="selMet.key">{{selMet.value}}</option>
Expand Down

0 comments on commit 714ec13

Please sign in to comment.