rivsc / Beautiful-Scaffold

Rails generator for a complete and beautiful scaffold.
http://beautiful-scaffold.rivsc.ovh/
MIT License
74 stars 22 forks source link

Pages are showing blank #8

Closed weirdpercent closed 7 years ago

weirdpercent commented 11 years ago

Both the root / and admin/products have the app view code when I view the source in the browser, but all I see is blank white. In looking at the source I noticed this: body style="display:none;" which hides that element if I understand correctly. Is the body content shown somewhere else using javascript?

rivsc commented 11 years ago

Yes see app/assets/javascripts/fixed_menu.js file. But if $('body').show(); dosen't work, there must be errors. Try to fix them.

weirdpercent commented 11 years ago

OK typing $('body').show(); in the console in both Firefox and Chrome made everything appear. Does that mean that on my end modify_dom_init isn't being called when it should? BTW awesome job on this, it really is beautiful.

EDIT: I added $('body').show(); at the end of beautiful_layout.html.erb and this time it appeared as it should.