Index: openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl,v diff -u -r1.7.2.17 -r1.7.2.18 --- openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl 14 Sep 2016 06:34:42 -0000 1.7.2.17 +++ openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl 14 Sep 2016 09:18:32 -0000 1.7.2.18 @@ -121,7 +121,7 @@ template::add_body_script -script { function ajax_submit(form) { - console.log(form); + //console.log(form); $.ajax({ type: "POST", url: "/xotcl/admin/toggle-debug", @@ -141,6 +141,7 @@ security::csp::require style-src maxcdn.bootstrapcdn.com security::csp::require script-src maxcdn.bootstrapcdn.com + security::csp::require font-src maxcdn.bootstrapcdn.com template::head::add_css -href "/resources/xotcl-core/titatoggle/titatoggle-dist.css" # @@ -161,7 +162,6 @@ template::add_body_script -script [subst { document.getElementById('$form_id-control').addEventListener('click', function (event) { - event.preventDefault(); ajax_submit(this.form); }); }]