Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -N -r1.200.2.14 -r1.200.2.15 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 10 Sep 2016 11:29:13 -0000 1.200.2.14 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 10 Sep 2016 23:48:01 -0000 1.200.2.15 @@ -2428,18 +2428,26 @@ set as_att_value [::xowiki::Includelet html_encode $inner_html] set save_form [subst {

- Create Form from Content + Create Form from Content

}] + template::add_body_script -script [subst { + document.getElementById("$id-control").addEventListener('click', function (event) { + event.preventDefault(); + document.getElementById("$id").style.display="inline"; + return false; + }); + }] + return $inner_html$save_form } }