add save and commit to file pile

This commit is contained in:
Graham Knop 2007-09-26 18:22:05 +00:00
parent 5c1a8b62eb
commit 202643d9b4
2 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,7 @@
- fix: Captcha unreadable when using Image::Magick
- fix: WebGUI::Group->new doesn't check group validity
- add form element template variables for event user defined fields
- fix: File Pile doesn't have save and commit button
7.4.7
- fix: misspelled i18n in webgui password recovery

View file

@ -49,6 +49,12 @@ These methods are available from this class:
sub edit {
my $self = shift;
my $tabform = WebGUI::TabForm->new($self->session,);
if ($self->session->config->get("enableSaveAndCommit")) {
$tabform->submitAppend(WebGUI::Form::submit($self->session, {
name => "saveAndCommit",
value => WebGUI::International->new($self->session, 'Asset')->get("save and commit"),
}));
}
my $i18n = WebGUI::International->new($self->session, 'Asset_FilePile');
$tabform->hidden({
name=>"func",