make mode and enabled sticky in the Workflow
This commit is contained in:
parent
b6cfd088c7
commit
e86b9a7a6f
3 changed files with 18 additions and 5 deletions
|
|
@ -517,11 +517,11 @@ sub set {
|
|||
$properties->{mode} = "singleton";
|
||||
}
|
||||
|
||||
$self->{_data}{mode} = $properties->{mode} || "parallel";
|
||||
$self->{_data}{enabled} = ($properties->{enabled} == 1) ? 1 : 0;
|
||||
$self->{_data}{title} = $properties->{title} || $self->{_data}{title} || "Untitled";
|
||||
$self->{_data}{mode} = $properties->{mode} || $self->{_data}{mode} || "parallel";
|
||||
$self->{_data}{enabled} = exists $properties->{enabled} ? $properties->{enabled} : $self->{_data}{enabled};
|
||||
$self->{_data}{title} = $properties->{title} || $self->{_data}{title} || "Untitled";
|
||||
$self->{_data}{description} = (exists $properties->{description}) ? $properties->{description} : $self->{_data}{description};
|
||||
$self->{_data}{type} = $properties->{type} || $self->{_data}{type} || "None";
|
||||
$self->{_data}{type} = $properties->{type} || $self->{_data}{type} || "None";
|
||||
$self->session->db->setRow("Workflow","workflowId",$self->{_data});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue