Page.insert_html and the :text argument


#1

Hi,
I’ve got a problem with .rjs templates. When I do
page.insert_html :bottom, ‘stylist_tablebox’, :text => “what ever”
This is what I get:
new Insertion.Bottom(‘stylist_tablebox’, null);

I tried this on Edge rails revision 3860 in an inline rjs update.

Thanks in advance,
Frederik


#2

try page.insert_html :bottom, “stylist_tablebox”, “whatever”