I have this action link in one of my controllers:
config.action_links.add 'objects', :controller => 'building_objects',
:action => 'list', :type => :member, :inline => true, :position =>
:after

When i click on objects link, I get this js error in my browser:
RJS error:
TypeError: Cannot set property 'innerHTML' of nul

And this information (in other alert message):
Element.update("as_building_objects-messages", "\n\n\n");

The inline green area full of such data:
try { $("as_building_objects-content").update("\n \n \n \n \n \n \n \n
\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\

I've met this error before and until this time I had to avoid inline
displaying of action links. But now it is a very important thing. If
anyone knows what should I do to fix this I'll be very glad.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to