make toggleFieldset work again on settings

pull/6827/head
Tim Felgentreff 14 years ago
parent 470cfcbcff
commit f5d5a06037
  1. 2
      lib/widget/filters.rb
  2. 10
      lib/widget/group_bys.rb

@ -17,7 +17,7 @@ class Widget::Filters < Widget::Base
:class => "select-small",
:name => nil
end
(table + select)
content_tag(:div, table + select)
end
def selectables

@ -45,12 +45,14 @@ class Widget::GroupBys < Widget::Base
#TODO: replace me with a drag&drop group_by selector
def render
content_tag :table, :style => "border-collapse: collapse; border: 0pt none;",
:id => "group_by_table" do
content_tag :tbody do
render_row_1_with_columns +
content_tag :div do
content_tag :table, :style => "border-collapse: collapse; border: 0pt none;",
:id => "group_by_table" do
content_tag :tbody do
render_row_1_with_columns +
render_row_2_with_up_down +
render_row_3_with_rows_and_group_bys
end
end
end
end

Loading…
Cancel
Save