diff --git a/Site5/App_GlobalResources/Controls.Swarm.resx b/Site5/App_GlobalResources/Controls.Swarm.resx index aa800410..a36ab9f1 100644 --- a/Site5/App_GlobalResources/Controls.Swarm.resx +++ b/Site5/App_GlobalResources/Controls.Swarm.resx @@ -172,7 +172,7 @@ <strong>QUIT YOUR POSITION?</strong><br/><br/>This is <strong>your</strong> assignment. Terminating your own assignment is the equivalent of saying "I QUIT". Doing so will take effect immediately. Is this what you wanted to do?<br/><br/> - <strong>TERMINATE ASSIGNMENT?</strong><br/><br/>Do you want to terminate {0} from the assignment as {1}? This is the equivalent of firing somebody and usually needs to be in accordance with internal processes and local law.<br/><br/> + <strong>TERMINATE ASSIGNMENT?</strong><br/><br/>Do you want to terminate <span id="spanTerminatePersonName">[PERSONNAME]</span> from the assignment as <span id="spanTerminatePositionName">[POSITIONNAME]</span>? This is the equivalent of firing somebody and usually needs to be in accordance with internal processes and local law.<br/><br/> {0} is the person name, {1} is the position title. diff --git a/Site5/Controls/v5/Swarm/TreePositions.ascx b/Site5/Controls/v5/Swarm/TreePositions.ascx index e820780d..74834e9e 100644 --- a/Site5/Controls/v5/Swarm/TreePositions.ascx +++ b/Site5/Controls/v5/Swarm/TreePositions.ascx @@ -123,7 +123,7 @@ SwarmopsJS.ajaxCall("/Automation/SwarmFunctions.aspx/TerminatePositionAssignment", { assignmentId: assignmentId }, function(result) { - if (result.success) { + if (result.Success) { $('#<%=this.ClientID%>_tablePositions').treegrid('reload'); } else { alertify.error(result.DisplayMessage);