Redbox basic implementation question


#1

When I produce a modal pop up it jams to the top of the page. Also
when I insert data it also goes to the top of the page. Any ideas?


#2

Anybody?


#3

Have a look at

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/f08f412c04e20ed1/d9f22348d07245f5?lnk=gst&q=++Open+a+(redbox)+modal+popup+from+inside+a+controller%3F++#d9f22348d07245f5

This was a quickfix, I haven’t gone to great lengths to investigate
the js code, but the change I made has worked ok for me with firefox
at least (it has to go in the redbox.js in the public folder).

You may want to look into the code in a bit more depth if you may be
supporting other browsers.

Tonypm