Removed WebGUI::Form::Workflow "edit" button because it won't work right.
This commit is contained in:
parent
5e074e0939
commit
d0970a35bd
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
7.2.2
|
7.2.2
|
||||||
- fix: Show Debugging option not working
|
- fix: Show Debugging option not working
|
||||||
|
- fix: Workflow form control edit button won't work. removed.
|
||||||
|
|
||||||
7.2.1
|
7.2.1
|
||||||
- Made a change to version tag commits to deal with unusually long commit
|
- Made a change to version tag commits to deal with unusually long commit
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,9 @@ Renders the form field to HTML as a table row complete with labels, subtext, hov
|
||||||
sub toHtmlWithWrapper {
|
sub toHtmlWithWrapper {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $returnUrl = ";proceed=goBackToPage;returnUrl=".$self->session->url->escape($self->session->asset->getUrl) if $self->session->asset;
|
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);
|
$buttons .= $self->session->icon->manage("op=manageWorkflows".$returnUrl);
|
||||||
$self->set("subtext",$buttons . $self->get("subtext"));
|
$self->set("subtext",$buttons . $self->get("subtext"));
|
||||||
return $self->SUPER::toHtmlWithWrapper;
|
return $self->SUPER::toHtmlWithWrapper;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue