diff --git a/Site/Pages/v5/Comms/SendMassMessage.aspx b/Site/Pages/v5/Comms/SendMassMessage.aspx
index 76346e6a..9b9ec82d 100644
--- a/Site/Pages/v5/Comms/SendMassMessage.aspx
+++ b/Site/Pages/v5/Comms/SendMassMessage.aspx
@@ -9,16 +9,18 @@
$(document).ready(function () {
// Document.Ready() goes here
- $('#<%=this.DropRecipientClasses.ClientID%>').change (function() {
+ $('#<%=this.DropRecipientClasses.ClientID%>').change(function() {
onGeographyChange(selectedGeographyId); // does the same thing anyway
- })
+ });
+
+ updateRecipientCount(selectedReceipientClass, selectedGeographyId);
});
var selectedReceipientClass = 1;
var selectedGeographyId = 1; // TODO: SET ROOT GEOGRAPHY BY AUTHORITY/ACCESS
function onGeographyChange(newGeographyId) {
- var recipientClass = $('#<%=this.DropRecipientClasses.ClientID %>').val();
+ var recipientClass = <%=this.DropRecipientClasses.ClientID %>_val();
updateRecipientCount(recipientClass, newGeographyId);
selectedGeographyId = newGeographyId;
@@ -65,7 +67,7 @@
-