Article now only allows two files to be uploaded.

This commit is contained in:
Kaleb Murphy 2008-09-15 19:00:30 +00:00
parent bd24e912c5
commit 50f6670a1a
2 changed files with 3 additions and 2 deletions

View file

@ -42,6 +42,7 @@
- It was possible to run multiple singleton workflows at the same time.
- fixed: WebGUI Password Recovery email subject hard-coded
- rfe: Add url to list of attributes tracked in assetHistory
- fixed: Article now only allows 2 files to be uploaded
7.5.22
- fixed: Layout template now gets prepared correctly

View file

@ -124,7 +124,7 @@ sub definition {
tab=>"properties",
fieldType=>"image",
deleteFileUrl=>$session->url->page("func=deleteFile;filename="),
maxAttachments=>25,
maxAttachments=>2,
defaultValue=>undef,
label=>$i18n->get("attachments"),
hoverHelp=>$i18n->get("attachments help")
@ -306,7 +306,7 @@ sub view {
});
}
}
$var{description} = $self->get("description");
$var{description} = $self->get("description");
$var{"new.template"} = $self->getUrl("func=view").";overrideTemplateId=";
$var{"description.full"} = $var{description};
$var{"description.full"} =~ s/\^\-\;//g;