Index: openacs-4/packages/attachments/www/simple-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/simple-add.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/attachments/www/simple-add.tcl 7 Nov 2002 15:11:50 -0000 1.5 +++ openacs-4/packages/attachments/www/simple-add.tcl 10 Nov 2002 16:13:21 -0000 1.6 @@ -32,8 +32,12 @@ set pretty_name [fs::simple_get_type_pretty_name -type $type] if {[empty_string_p $pretty_name]} { - return -code error "[_ attachments.lt_No_such_typeset_conte]" $folder_id] + return -code error "[_ attachments.No_such_type]" +} +set context [list [_ attachments.Attach_URL]] +set fs_context_bar [fs_context_bar_list -final "[_ attachments.Add_pretty_name]" $folder_id] + # Should probably generate the item_id and version_id now for # double-click protection