Index: openacs-4/packages/general-comments/www/file-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/file-add-2.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/general-comments/www/file-add-2.tcl 27 Jun 2015 21:10:12 -0000 1.8 +++ openacs-4/packages/general-comments/www/file-add-2.tcl 7 Aug 2017 23:48:12 -0000 1.9 @@ -18,7 +18,7 @@ title:notnull upload_file:notnull upload_file.tmpfile:tmpfile - { return_url {} } + { return_url:localurl {} } } -validate { allow_file_attachments { set allow_files_p [parameter::get -parameter AllowFileAttachmentsP -default {t}] @@ -142,3 +142,9 @@ ad_returnredirect [export_vars -base view-comment {{comment_id $parent_id} return_url}] + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: