Skip to content

Commit fbf2ca5

Browse files
1 parent dad74de commit fbf2ca5

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

packages/acs-templating/tcl/widget-procs.tcl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ ad_proc -public template::widget::merge_tag_attributes {
2323
element_reference
2424
tag_attributes
2525
} {
26-
Consolidates the logics to compute the final tag attributes by
27-
merging those explicitly supplied and those in the element
28-
definition.
26+
Merges the attributes coming from widget's html property with
27+
those in the tag_attributes argument and returns the merged
28+
dict. Here we decide which of the two sources takes precedence and
29+
how.
30+
31+
Note that widget's html property is consumed in the process, so
32+
that possible further executions of this proc won't apply the
33+
attributes twice.
2934

3035
@return dict
3136
} {

0 commit comments

Comments
 (0)