There was an error while loading. Please reload this page.
1 parent dad74de commit fbf2ca5Copy full SHA for fbf2ca5
1 file changed
packages/acs-templating/tcl/widget-procs.tcl
@@ -23,9 +23,14 @@ ad_proc -public template::widget::merge_tag_attributes {
23
element_reference
24
tag_attributes
25
} {
26
- Consolidates the logics to compute the final tag attributes by
27
- merging those explicitly supplied and those in the element
28
- definition.
+ Merges the attributes coming from widget's html property with
+ those in the tag_attributes argument and returns the merged
+ 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.
34
35
@return dict
36
0 commit comments