Refactor: Argument order

This commit is contained in:
Rick Falkvinge
2017-11-14 17:51:54 +01:00
parent c9cb998080
commit e8c70dd7b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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); }");
}
%>
+1 -1
View File
@@ -94,7 +94,7 @@
return null;
}
function onRecipientChange(oldClassIgnored, newRecipientClass) {
function onRecipientChange(newRecipientClass, oldClassIgnored) {
selectedRecipientClass = newRecipientClass;
updateRecipientCount(newRecipientClass, selectedGeographyId);
}