Skip to content

Commit

Permalink
JavaScriptDisplayColumn no longer renders inline event handlers (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam authored Nov 20, 2023
1 parent a32d1de commit e21760d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/labkey/workflow/query/WorkflowQuerySchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ public ReassignmentDisplayColumnFactory(HtmlString assignmentType)
public DisplayColumn createRenderer(ColumnInfo colInfo)
{
Collection<String> dependencies = Collections.singletonList("workflow/view/reassignTask.js");
String javaScriptEvent = "onclick=\"createReassignTaskWindow(${id_:jsString}, ${assignee_:jsString});\"";
return new JavaScriptDisplayColumn(colInfo, dependencies, javaScriptEvent, "labkey-text-link")
String onClickJavaScript = "createReassignTaskWindow(${id_:jsString}, ${assignee_:jsString});";
return new JavaScriptDisplayColumn(colInfo, dependencies, onClickJavaScript, "labkey-text-link")
{
@NotNull
@Override
Expand Down

0 comments on commit e21760d

Please sign in to comment.