Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.103 -r1.104 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 25 May 2007 07:56:29 -0000 1.103 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 25 May 2007 08:01:35 -0000 1.104 @@ -783,7 +783,7 @@ {render_adp 0} } File instproc complete_name {name {fn ""}} { - my instvar mime_type + my instvar mime_type package_id switch -glob -- $mime_type { image/* {set type image} default {set type file}