Index: openacs.org-dev/www/default-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/www/Attic/default-master.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/www/default-master.tcl 9 Jul 2002 17:35:19 -0000 1.1.1.1 +++ openacs.org-dev/www/default-master.tcl 8 Oct 2002 15:47:46 -0000 1.1.1.2 @@ -12,7 +12,9 @@ if [template::util::is_nil title] { set title [ad_system_name] } if [template::util::is_nil signatory] { set signatory [ad_system_owner] } -if ![info exists header_stuff] { set header_stuff {} } +if ![template::util::is_nil context] { set context_bar [eval ad_context_bar $context]} +if [template::util::is_nil context_bar] { set context_bar [ad_context_bar]} +if ![info exists header_stuff] { set header_stuff {} } # Attributes @@ -39,7 +41,7 @@ regexp {^([^.]*)\.(.*)$} $focus match form_name element_name template::multirow append \ - attribute onLoad "javascript:document.forms\['${form_name}'\].elements\['${element_name}'\].focus()" + attribute onload "javascript:document.forms\['${form_name}'\].elements\['${element_name}'\].focus()" }