Index: openacs-4/packages/acs-templating/tcl/head-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/head-procs.tcl,v diff -u -r1.45.2.36 -r1.45.2.37 --- openacs-4/packages/acs-templating/tcl/head-procs.tcl 2 Nov 2022 17:04:21 -0000 1.45.2.36 +++ openacs-4/packages/acs-templating/tcl/head-procs.tcl 3 Nov 2022 17:33:39 -0000 1.45.2.37 @@ -980,6 +980,9 @@ -package_key acs-templating \ -parameter DefaultPreventDoubleClickTimeoutMs \ -default 2000] + if {$default_timeout == 0} { + return + } template::add_body_script -script [subst -nobackslashes -nocommands [ns_trim { function oacs_reenable_double_click_handler(target) { if ( target.dataset.oacsClicked == 'true') {