lib/zafu/process/context.rb in zafu-0.8.2 vs lib/zafu/process/context.rb in zafu-0.8.3
- old
+ new
@@ -38,9 +38,10 @@
steal_and_eval_html_params_for(@markup, @params)
# The id set here should be used as prefix for sub-nodes to ensure uniqueness of generated DOM ids
if node.list_context?
# we are still in a list (example: previous context was [[Node]], current is [Node])
else
+ node.dom_prefix ||= dom_name
node.propagate_dom_scope!
if need_dom_id?
@markup.set_id(node.dom_id)
end