app/components/marty/panel.rb in marty-0.5.41 vs app/components/marty/panel.rb in marty-1.0.0

- old
+ new

@@ -1,8 +1,8 @@ # Marty's version of the Netzke Panel component. class Marty::Panel < Netzke::Core::Panel - js_configure do |c| - c.update_body_html = <<-JS + client_class do |c| + c.update_body_html = l(<<-JS) function(html){ this.body.update(html); } JS end