diff --git a/Site/Controls/v5/Base/DropDown.ascx b/Site/Controls/v5/Base/DropDown.ascx index f8375552..077499c4 100644 --- a/Site/Controls/v5/Base/DropDown.ascx +++ b/Site/Controls/v5/Base/DropDown.ascx @@ -12,7 +12,7 @@ panelWidth: 300<% if (!String.IsNullOrEmpty(this.OnClientChange)) { - Response.Write(",\r\nonChange: function(newVal, oldVal) { " + this.OnClientChange + "(oldVal, newVal); }"); + Response.Write(",\r\nonChange: function(newVal, oldVal) { " + this.OnClientChange + "(newVal, oldVal); }"); } %> diff --git a/Site/Pages/v5/Comms/SendMassMessage.aspx b/Site/Pages/v5/Comms/SendMassMessage.aspx index 4dd5d5b8..ea09080a 100644 --- a/Site/Pages/v5/Comms/SendMassMessage.aspx +++ b/Site/Pages/v5/Comms/SendMassMessage.aspx @@ -94,7 +94,7 @@ return null; } - function onRecipientChange(oldClassIgnored, newRecipientClass) { + function onRecipientChange(newRecipientClass, oldClassIgnored) { selectedRecipientClass = newRecipientClass; updateRecipientCount(newRecipientClass, selectedGeographyId); }