Index: openacs-4/packages/ams/www/attribute.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/attribute.tcl,v diff -u -r1.9 -r1.10 --- openacs-4/packages/ams/www/attribute.tcl 9 Feb 2006 20:54:41 -0000 1.9 +++ openacs-4/packages/ams/www/attribute.tcl 22 Mar 2006 10:00:31 -0000 1.10 @@ -110,11 +110,9 @@ set edit_url [lang::util::edit_lang_key_url -message $option] } -if { [template::multirow size options] > 0 } { - set sort_order $sort_count - set sort_key $sort_key_count - template::multirow append options {new1} {} 1 $sort_count $sort_key - template::multirow append options {new2} {} 1 [incr sort_count 10] [incr sort_key 1] - template::multirow append options {new3} {} 1 [incr sort_count 10] [incr sort_key 1] -} +set sort_order $sort_count +set sort_key $sort_key_count +template::multirow append options {new1} {} 1 $sort_count $sort_key +template::multirow append options {new2} {} 1 [incr sort_count 10] [incr sort_key 1] +template::multirow append options {new3} {} 1 [incr sort_count 10] [incr sort_key 1] ad_return_template