Login Register

Images not appearing with Dijit and Rails

Hi,

I'm trying to get Dojo/Dijit working with Rails. I have installed 1.1 in my javascripts directory (which is where JavaScript usually goes in Rails), and I can access the .js files in there. But, the images don't appear as they should. For example, when I create a dijit.Editor instance, the editor shows up, and appears to function correctly. But, the toolbar icons appear as tiny, empty rectangles.

I'm using the tundra theme; so, I opened the tundra.css file, and I see that the toolbar icons are supposed to be rendered with images/editor.gif. I have verified that this file exists. Oddly, I don't see any GET requests for this file in Firebug or in the server logs.

Any ideas?

Thanks!

Greg

My bad

Hi,

I had <body style="tundra"> instead of the required <body class="tundra">.

Thanks for looking!

Greg