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 -r1.239.2.79 -r1.239.2.80 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 25 Dec 2021 16:10:22 -0000 1.239.2.79 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 31 Dec 2021 11:27:05 -0000 1.239.2.80 @@ -4154,10 +4154,6 @@ lassign [list $b $form_item_id] button id } set form [::xo::db::CrClass get_instance_from_db -item_id $id] - # - # "Package require" is just a part of "Package initialize" - # creating the package object if needed.... - # set form_package_id [$form package_id] if {$form_package_id eq ""} { # @@ -4167,6 +4163,10 @@ $form set_resolve_context -package_id $package_id -parent_id $parent_id set form_package_id $package_id } + # + # "Package require" is just a part of "Package initialize" + # creating the package object if needed.... + # ::xowiki::Package require $form_package_id set obj [form-menu-button-$button new -volatile -package_id $package_id \ -base [$form pretty_link] \