Add a missing template variable, which prevented users from deleting
a DataForm entry when viewing that entry.
This commit is contained in:
parent
99281df4a8
commit
44ac8a42b9
2 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
7.6.13
|
7.6.13
|
||||||
- fixed #9760: DataForm not working in demo.plainblack.com
|
- fixed #9760: DataForm not working in demo.plainblack.com
|
||||||
|
- fixed #9759: Delete Entry Button missing in Data Form
|
||||||
|
|
||||||
7.6.12
|
7.6.12
|
||||||
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
|
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
|
||||||
|
|
|
||||||
|
|
@ -648,6 +648,7 @@ sub getRecordTemplateVars {
|
||||||
$var->{'edit.URL' } = $self->getFormUrl('entryId=' . $entryId);
|
$var->{'edit.URL' } = $self->getFormUrl('entryId=' . $entryId);
|
||||||
$var->{'delete.url' } = $self->getUrl('func=deleteEntry;entryId=' . $entryId);
|
$var->{'delete.url' } = $self->getUrl('func=deleteEntry;entryId=' . $entryId);
|
||||||
$var->{'delete.label' } = $i18n->get(90);
|
$var->{'delete.label' } = $i18n->get(90);
|
||||||
|
$var->{'entryId' } = $entryId;
|
||||||
}
|
}
|
||||||
my $func = $session->form->process('func');
|
my $func = $session->form->process('func');
|
||||||
my $ignoreForm = $func eq 'editSave' || $func eq 'editFieldSave';
|
my $ignoreForm = $func eq 'editSave' || $func eq 'editFieldSave';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue