<script type="text/javascript" src="/javascripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/javascripts/widget-grid.js"></script>
<%= javascript_include_tag 'users_form' %>
I'm now noticing that those basic scaffolding pages that come with rails have been broken. I tested with a fresh project, and it does indeed seem to break the scaffold pages when <%= javascript_include_tag :defaults %> is commented out.
Here's the thing though, when I try to manually add in the missing javascripts, it doesn't repair the scaffolding pages.
<script type="text/javascript" src="/javascripts/application.js"></script> <script type="text/javascript" src="/javascripts/rails.js"></script> <script type="text/javascript" src="/javascripts/controls.js"></script> <script type="text/javascript" src="/javascripts/prototype.js"></script> <script type="text/javascript" src="/javascripts/dragdrop.js"></script> <script type="text/javascript" src="/javascripts/effects.js"></script>
Here's the line of html that doesn't do what it otherwise would do (display a warning prompt, etc):
<a rel="nofollow" data-method="delete" data-confirm="Are you sure?" href="/books/16">Destroy</a>
So what am I missing? I've scanned around the linked javascripts, thinking something in there must be dynamically named, but I can't find anything =/

New Topic/Question
Reply




MultiQuote



|