active_sfaffold.js > active_scaffold.js On Feb 23, 12:34 pm, thoen <[email protected]> wrote: > It is included only once. Here are the list of js files in the order > in which they are downloaded > > jquery.js > jquery_ujs.js > application.js > jquery.tmpl.min.js > active_sfaffold.js > date_picker_bridge.js > jquery.editinplace.js > > the following are my include calls in my layout > > = javascript_include_tag :defaults, :cache => true > = javascript_include_tag "http://ajax.microsoft.com/ajax/ > jquery.templates/beta1/jquery.tmpl.min.js" > = active_scaffold_includes > = init_tinymce_hammer_if_required > > On Feb 23, 9:52 am, Sergio Cambra <[email protected]> wrote: > > > > > > > > > On Jueves, 23 de febrero de 2012 05:55:55 thoen escribió: > > > > On Feb 23, 4:03 am, Sergio Cambra <[email protected]> wrote: > > > > Do you have some JS error? Are you using prototype or jquery? > > > > I am using jquery. There is no js error appearing in the firebug > > > console. > > > > For example, when I click the edit link from the as list, the > > > following request is sent > > > GET > > >http://localhost:3000/admin/admins/5/edit?adapter=_list_inline_adapter > > > > It is associated with jquery.js line 7869 > > > > The response includes the following snippet > > > > <tr class="inline-adapter" id="as_admin__admins-nested-5-row"> > > > <td colspan="99" class="inline-adapter-cell"> > > > <div class="edit-view admin/admins-view view"> > > > <a href="" class="inline-adapter-close as_cancel" data- > > > refresh="false" data-remote="true" title="Close">Close</a> <form > > > accept-charset="UTF-8" action="/admin/admins/5" class="as_form update" > > > data-loading="true" data-remote="true" id="as_admin__admins-update-5- > > > form" method="post"><div style="margin:0;padding: > > > 0;display:inline"><input name="utf8" type="hidden" value="✓" / > > > > ><input name="_method" type="hidden" value="put" /><input > > > > name="authenticity_token" type="hidden" value="TurBcrcCvpeL/ > > > 3tYcm5ntLqI6smxS0UxN/osHEc0KX4=" /></div> > > > <h4>Update Meghan</h4> > > > > <div id="as_admin__admins-update-5-messages" class="messages- > > > container"> > > > > </div> > > > . > > > . > > > . > > > > <script type="text/javascript"> > > > //<![CDATA[ > > > var action_link = ActiveScaffold.ActionLink.get('as_admin__admins- > > > nested-5-row'); if (action_link) > > > action_link.update_flash_messages(''); > > > //]]> > > > </script> > > > > It appears that the action to insert the returned html is not being > > > fired. Or it is being fired, but it is placing it in a non-displaying > > > area. > > > > I am using a nested class in my controller > > > Admin::AdminsController. Perhaps this has something to do with it. > > > > Thanks for your advice. > > > > Tom > > > Please, check active_scaffold.js is included only once in firebug
-- 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.
