Hello,
I'm running Rails 2.3.5, with git://github.com/ewildgoose/render_component.git
-r rails-2.3 and git://github.com/activescaffold/active_scaffold.git -
r rails-2.3
Everything works great if I use <%= javascript_include_tag :defaults
%> in my layout.
Now the problem is that includes application.js. In my other projects
that used to be empty, but now in a layout that has no active_scaffold
I use jQuery. I'm not about to mix those two. Don't get me wrong. I'm
using ActiveScaffold for my backend and jQuery for my frontend,
different layouts, different controllers, etc. The only common things
are the models.

I was thinking <%= javascript_include_tag 'controls', 'dragdrop',
'effects', 'prototype', :cache => 'admin'%>
would solve the problem. Well it did not. It's not the cache since the
problems are present in development mode.
Now the problems are quite odd. The table is drawn, but if I click
show the close button will not work, and there are a few more
oddities. For example if I edit something I get a dialog: RJS error:
TypeError: Effect is undefined (both in FF and Chrome). But the
database gets updated with the new values.

Long story short: How to use ActiveScaffold without including
application.js.

Thanks a lot.
W. Szabó Péter

-- 
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