Index: openacs-4/packages/xotcl-core/xotcl-core.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/xotcl-core.info,v diff -u -r1.92.2.18 -r1.92.2.19 --- openacs-4/packages/xotcl-core/xotcl-core.info 29 Sep 2016 07:42:58 -0000 1.92.2.18 +++ openacs-4/packages/xotcl-core/xotcl-core.info 3 Oct 2016 13:29:18 -0000 1.92.2.19 @@ -10,7 +10,7 @@ t xotcl - + Gustaf Neumann XOTcl library functionality (e.g. thread handling, online documentation, Generic Form and List Classes) 2016-09-10 @@ -43,9 +43,9 @@ BSD-Style 2 - + - + Index: openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl,v diff -u -r1.57.2.8 -r1.57.2.9 --- openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 13 Sep 2016 08:47:55 -0000 1.57.2.8 +++ openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 3 Oct 2016 13:29:18 -0000 1.57.2.9 @@ -645,11 +645,10 @@ html::t [$ba label] } } - template::add_body_script -script [subst { - document.getElementById('$id').addEventListener('click', function (event) { - acs_ListBulkActionClick('$name','[$ba url]'); - }, false); - }] + template::add_event_listener \ + -id $id \ + -preventdefault=false \ + -script [subst {acs_ListBulkActionClick('$name','[$ba url]');}] } } }