lib/glimmer/dsl/opal/widget_expression.rb in glimmer-dsl-opal-0.28.3 vs lib/glimmer/dsl/opal/widget_expression.rb in glimmer-dsl-opal-0.29.0
- old
+ new
@@ -20,10 +20,10 @@
Glimmer::SWT::WidgetProxy.for(keyword, parent, args, block)
end
def add_content(parent, keyword, *args, &block)
if parent.rendered? || parent.skip_content_on_render_blocks?
- super(parent, &block)
+ super(parent, keyword, *args, &block)
parent.post_add_content
else
parent.add_content_on_render(&block)
end
end