bug fixes to make webgui work with the wre demo system
This commit is contained in:
parent
b3eff9623d
commit
a3b9509090
7 changed files with 14 additions and 8 deletions
|
|
@ -288,6 +288,7 @@ sub set {
|
|||
$params{parameters} = $self->get("parameters");
|
||||
$params{config} = $self->session->config->getFilename;
|
||||
$params{sitename} = $self->session->config->get("sitename")->[0];
|
||||
$params{gateway} = $self->session->config->get("gateway");
|
||||
$spectre->notify("cron/addJob", \%params);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ sub set {
|
|||
if ($properties->{notifySpectre}) {
|
||||
my $spectre = WebGUI::Workflow::Spectre->new($self->session);
|
||||
$spectre->notify("workflow/deleteInstance",$self->getId);
|
||||
$spectre->notify("workflow/addInstance", {sitename=>$self->session->config->get("sitename")->[0], instanceId=>$self->getId, priority=>$self->{_data}{priority}});
|
||||
$spectre->notify("workflow/addInstance", {gateway=>$self->session->config->get("gateway"), sitename=>$self->session->config->get("sitename")->[0], instanceId=>$self->getId, priority=>$self->{_data}{priority}});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue