diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8a670467a..cc56dff5e 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,5 +1,6 @@ 7.2.2 - fix: Show Debugging option not working + - fix: Workflow form control edit button won't work. removed. 7.2.1 - Made a change to version tag commits to deal with unusually long commit diff --git a/lib/WebGUI/Form/Workflow.pm b/lib/WebGUI/Form/Workflow.pm index 1772be144..83be8f1d6 100644 --- a/lib/WebGUI/Form/Workflow.pm +++ b/lib/WebGUI/Form/Workflow.pm @@ -117,7 +117,9 @@ Renders the form field to HTML as a table row complete with labels, subtext, hov sub toHtmlWithWrapper { my $self = shift; my $returnUrl = ";proceed=goBackToPage;returnUrl=".$self->session->url->escape($self->session->asset->getUrl) if $self->session->asset; - my $buttons = $self->session->icon->edit("op=editWorkflow;workflowId=".$self->get("value").$returnUrl) if ($self->get("value")); + my $buttons; + # This edit button will not work with multiple workflows. + #$buttons .= $self->session->icon->edit("op=editWorkflow;workflowId=".$self->get("value")->[0].$returnUrl) if ($self->get("value")); $buttons .= $self->session->icon->manage("op=manageWorkflows".$returnUrl); $self->set("subtext",$buttons . $self->get("subtext")); return $self->SUPER::toHtmlWithWrapper;