Index: openacs-4/packages/acs-templating/tcl/widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/widget-procs.tcl,v diff -u -N -r1.63.2.4 -r1.63.2.5 --- openacs-4/packages/acs-templating/tcl/widget-procs.tcl 5 Jul 2019 10:55:04 -0000 1.63.2.4 +++ openacs-4/packages/acs-templating/tcl/widget-procs.tcl 5 Jul 2019 10:57:11 -0000 1.63.2.5 @@ -125,11 +125,11 @@ if { $value eq "" } { if { [string is true $is_optional] } { - return "" - } else { - template::element::set_error $element(form_id) $element_id "Please enter a search string." - return [list] - } + return "" + } else { + template::element::set_error $element(form_id) $element_id "Please enter a search string." + return [list] + } } if {$value eq ":search:"} { @@ -201,7 +201,6 @@ return $value } - ad_proc -public template::widget::search { element_reference tag_attributes @@ -351,8 +350,6 @@ return $output } - - ad_proc -public template::widget::inform { element_reference tag_attributes } { A static information widget that does not submit any data } { @@ -466,8 +463,6 @@ } } - - ad_proc -public template::widget::file { element_reference tag_attributes @@ -495,8 +490,6 @@ return [input file element [array get attributes]] } - - ad_proc -public template::widget::password { element_reference tag_attributes @@ -556,7 +549,6 @@ } - ad_proc -public template::widget::submit { element_reference tag_attributes