Index: openacs-4/packages/spreadsheet/tcl/form-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/spreadsheet/tcl/form-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/spreadsheet/tcl/form-procs.tcl 30 Nov 2010 20:33:30 -0000 1.6 +++ openacs-4/packages/spreadsheet/tcl/form-procs.tcl 8 Jan 2011 01:50:03 -0000 1.7 @@ -85,6 +85,7 @@ # use upvar to set form content, set/change defaults # __qf_arr contains last attribute values of tag, indexed by {tag}_attribute, __form_last_id is in __qf_arr(form_id) upvar __form_ids_list __form_ids_list, __form_arr __form_arr + upvar __form_ids_open_list __form_ids_open_list upvar __qf_remember_attributes __qf_remember_attributes, __qf_arr __qf_arr set attributes_full_list [list action class id method name style target title] @@ -109,6 +110,9 @@ if { ![info exists __form_ids_list] } { set __form_ids_list [list] } + if { ![info exists __form_ids_open_list] } { + set __form_ids_open_list [list] + } # use previous tag attribute values? if { $__qf_remember_attributes } { foreach attribute $attributes_list { @@ -135,9 +139,13 @@ set tag_html "
\n" + # remove id from __form_ids_open_list + } + + } + } ad_proc -public qf_read {