users without JS are not my target group for this project :)
On 28 Σεπτ, 12:34, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Lunes, 28 de Septiembre de 2009 09:51:42 PaP escribió:
>
> > Hi everyone, i was trying to use jrails + AS and everything worked as
> > expected (so far) using the hint found at
> >http://crnixon.org/log/2009/05/14/today.html. The only problem i
> > encountered was the pagination that was still using the JQuery syntax and
> > on every click on pagination it would
> > render the whole page inside the AS div.
> > In order to avoid this go to line 2 at _list_pagination_links.html.erb
> > and replace the line with this one:
> > <% pagination_params = params_for(:action => 'update_table', :format
> > => 'js') -%>
> > So you tell the AS to render content for ajax
>
> I think you will break ActiveScaffold when JS is not available, forcing to
> return a javascript response even when request is not made by xhr.
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---