Fix in controller and update in partial
This commit is contained in:
parent
10c7def564
commit
8977d629e7
@ -157,6 +157,7 @@ sub do_update {
|
|||||||
}
|
}
|
||||||
</tal:block>
|
</tal:block>
|
||||||
if ($ret ne "ok"){
|
if ($ret ne "ok"){
|
||||||
|
$c->stash(error => $c->l($ret));
|
||||||
$c->do_display($thispanel);
|
$c->do_display($thispanel);
|
||||||
} else {
|
} else {
|
||||||
#Do whatever is needed, including writing values to the DB
|
#Do whatever is needed, including writing values to the DB
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
</pre>
|
</pre>
|
||||||
% }
|
% }
|
||||||
% my $btn = l('APPLY');
|
% my $btn = l('APPLY');
|
||||||
|
|
||||||
|
% $c->param(Selected => undef);
|
||||||
|
|
||||||
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
||||||
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
||||||
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user