Index: openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl,v diff -u -N -r1.11.2.6 -r1.11.2.7 --- openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl 13 Aug 2019 15:46:06 -0000 1.11.2.6 +++ openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl 22 Aug 2019 14:30:26 -0000 1.11.2.7 @@ -497,37 +497,32 @@ if {![nsf::is object [self]::__actions]} {:actions {}} if {![nsf::is object [self]::__bulkactions]} {:__bulkactions {}} set bulkactions [[self]::__bulkactions children] - if {[llength $bulkactions]>0} { + if {[llength $bulkactions] > 0} { set name [[self]::__bulkactions set __identifier] - } else { - set name [::xowiki::Includelet js_name [self]] - } - if {[llength $bulkactions]>0} { html::div -id ${:id}_wrapper -class "table-responsive" { html::form -name $name -id $name -method POST { html::div -id ${:id}_container { html::table -id ${:id} -class ${:css.table-class} { :render-actions :render-body } - if {[llength $bulkactions]>0} { :render-bulkactions } + :render-bulkactions } } } } else { + set name [::xowiki::Includelet js_name [self]] #nesting forms inside a xowf page will place the action buttons at the wrong place! html::div -id ${:id}_wrapper -class "table-responsive" { html::div -id ${:id}_container { html::table -id ${:id} -class ${:css.table-class} { :render-actions :render-body } - if {[llength $bulkactions]>0} { :render-bulkactions } } } } } - #Class create BootstrapTableRenderer::AnchorField -superclass TABLE::AnchorField Class create BootstrapTableRenderer::AnchorField \