Skip to content

Commit dab82c2

Browse files
committed
Fix typo in cluster form
1 parent 93deb87 commit dab82c2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

cluster/src/org/labkey/cluster/ClusterController.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.labkey.api.security.RequiresPermission;
2929
import org.labkey.api.security.RequiresSiteAdmin;
3030
import org.labkey.api.security.permissions.AdminPermission;
31+
import org.labkey.api.util.HtmlString;
3132
import org.labkey.api.util.PageFlowUtil;
3233
import org.labkey.api.util.URLHelper;
3334
import org.labkey.api.view.HtmlView;
@@ -95,9 +96,9 @@ public URLHelper getSuccessURL(ForcePipelineCancelForm form)
9596

9697
public ModelAndView getConfirmView(ForcePipelineCancelForm form, BindException errors) throws Exception
9798
{
98-
return new HtmlView("This will change the status of the pipeline job with the provided ID to Cancelled. It is intended to help the situation when the normal UI leave a job in a perpetual 'Cancelling' state." +
99+
return new HtmlView(HtmlString.of("This will change the status of the pipeline job with the provided ID to Cancelled. It is intended to help the situation when the normal UI leave a job in a perpetual 'Cancelling' state." +
99100
"To continue, enter a comma-delimited list of Job IDs and hit submit:<br><br>" +
100-
"<label>Enter Job ID: </label><input name=\"jobIds\"><br>");
101+
"<label>Enter Job ID(s): </label><input name=\"jobIds\"><br>"));
101102
}
102103

103104
public boolean handlePost(ForcePipelineCancelForm form, BindException errors) throws Exception
@@ -140,16 +141,16 @@ public boolean handlePost(ForcePipelineCancelForm form, BindException errors) th
140141

141142
public static class ForcePipelineCancelForm
142143
{
143-
private String jobIds;
144+
private String _jobIds;
144145

145146
public String getJobIds()
146147
{
147-
return jobIds;
148+
return _jobIds;
148149
}
149150

150-
public void setJobId(String jobIds)
151+
public void setJobIds(String jobIds)
151152
{
152-
this.jobIds = jobIds;
153+
_jobIds = jobIds;
153154
}
154155
}
155156
}

0 commit comments

Comments
 (0)