fix: File Upload control now shows more than one file when deleteFileUrl is specified
This commit is contained in:
parent
c60f745e0f
commit
4422ca9844
2 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
||||||
- fix: Edit Branch doesn't follow auto commit settings
|
- fix: Edit Branch doesn't follow auto commit settings
|
||||||
- fix: Importing a package doesn't follow auto commit settings
|
- fix: Importing a package doesn't follow auto commit settings
|
||||||
- add: DataForm template variable for the group to view entries
|
- add: DataForm template variable for the group to view entries
|
||||||
|
- fix: File upload control now shows all files when deleteFileUrl exists
|
||||||
- fix: EMS Badge Reporting overlaps with other EMS on the system
|
- fix: EMS Badge Reporting overlaps with other EMS on the system
|
||||||
- fix: SQLReport templatable download doesn't run nested queries
|
- fix: SQLReport templatable download doesn't run nested queries
|
||||||
- fix: Edit branch copies hide from navigation setting from events and posts to rest of branch
|
- fix: Edit branch copies hide from navigation setting from events and posts to rest of branch
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ sub getFilePreview {
|
||||||
my $preview = "";
|
my $preview = "";
|
||||||
foreach my $file (@{$storage->getFiles}) {
|
foreach my $file (@{$storage->getFiles}) {
|
||||||
if ($self->get("deleteFileUrl")) {
|
if ($self->get("deleteFileUrl")) {
|
||||||
$preview = '<p style="display:inline;vertical-align:middle;"><a href="'.$self->get("deleteFileUrl").$file.'">'
|
$preview .= '<p style="display:inline;vertical-align:middle;"><a href="'.$self->get("deleteFileUrl").$file.'">'
|
||||||
.'<img src="'.$self->session->icon->getBaseURL().'delete.gif" style="vertical-align:middle;border: 0px;" alt="x" /></a></p> ';
|
.'<img src="'.$self->session->icon->getBaseURL().'delete.gif" style="vertical-align:middle;border: 0px;" alt="x" /></a></p> ';
|
||||||
}
|
}
|
||||||
$preview .= '<p style="display:inline;vertical-align:middle;"><a href="'.$storage->getUrl($file).'">'
|
$preview .= '<p style="display:inline;vertical-align:middle;"><a href="'.$storage->getUrl($file).'">'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue