Index: openacs-4/packages/xowiki/tcl/repeat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/repeat-procs.tcl,v diff -u -r1.14.2.7 -r1.14.2.8 --- openacs-4/packages/xowiki/tcl/repeat-procs.tcl 27 Oct 2019 08:38:07 -0000 1.14.2.7 +++ openacs-4/packages/xowiki/tcl/repeat-procs.tcl 28 Oct 2020 21:17:08 -0000 1.14.2.8 @@ -53,7 +53,7 @@ {min 1} {max 5} {repeat_add_label "#xowiki.form-repeatable-add#"} - {repeat_remove_label "#xowiki.form-repeatable-delete#"} + {repeat_remove_label "#xowiki.delete#"} } repeatContainer instproc item_spec {} { # @@ -239,7 +239,6 @@ lappend atts style "display: none;" } ::html::div $atts { - $c render_input # # Compound fields - link not shown if we are not rendering # for the template and copy the template afterwards. @@ -248,13 +247,15 @@ set del_id "repeat-del-link-[$c set id]" ::html::a -href "#" \ -id $del_id \ - -class "repeat-del-link" { - html::t [:repeat_remove_label] + -title ${:repeat_remove_label} \ + -class "delete-item-button repeat-del-link" { + html::t "" } template::add_event_listener \ -id $del_id \ -script [subst {xowiki.repeat.delItem(this,'$clientData');}] } + $c render_input } incr i }