Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl,v diff -u -r1.14.2.1 -r1.14.2.2 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 15 May 2009 17:13:48 -0000 1.14.2.1 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 21 May 2009 17:54:23 -0000 1.14.2.2 @@ -258,7 +258,7 @@ var selector_window; // window.resizeTo(450, 300); - function Init() { + function attachFileInit() { __dlg_init(); var f_href = document.getElementById('f_href'); @@ -379,7 +379,7 @@ .form-error { color : red} " - template::add_body_handler \ - -event onload \ - -script "attachFileInit()" -} \ No newline at end of file +} +template::add_body_handler \ + -event onload \ + -script "attachFileInit()"