From 3d6f3c77a235d8b36d943c8d0f061fc8388b35ab Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 28 Oct 2008 03:19:31 +0000 Subject: [PATCH] added docs for web service fixed a typo --- lib/WebGUI/Asset/Wobject/GalleryAlbum.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm b/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm index 9168b2beb..dd96ed9a6 100644 --- a/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm +++ b/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm @@ -945,6 +945,10 @@ The title of the album you wish to create. A brief description of the album you wish to create. +=head3 file + +A file attached to the multi-part post. + =cut sub www_addFileService { @@ -958,7 +962,8 @@ sub www_addFileService { my $file = $self->addChild({ className => "WebGUI::Asset::File::GalleryFile::Photo", title => $form->get('title','text'), - synopsis => $form->get('description','textarea'), + description => $form->get('synopsis','textarea'), + synopsis => $form->get('synopsis','textarea'), }); my $storage = $file->getStorageLocation;