DO!
RTFM, that's what you get from not sleeping enough :)
What I did was:
new Effect.Appear(
content_elements['content_node'],
{
queue: 'end',
duration: 2.0,
afterUpdate:
resize_content_or_editor(content_elements['content_or_editor'],
content_elements['content_node'])
});
What I should have done is:
new Effect.Appear(
content_elements['content_node'],
{
queue: 'end',
duration: 2.0,
afterUpdate: function callback(obj) {
resize_content_or_editor(content_elements['content_or_editor'],
content_elements['content_node']);
}
});
Thanks anyway!
Cheers,
Eloy.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs