Ruby on Rails Wednesday, October 21, 2015

If you have a call to set the location, followed by a location.reload, what URL do you suppose the second one will use? Try commenting out that reload, and see if it works then.

Walter

On Oct 21, 2015, at 1:58 AM, Dave Ekhaus <dave.ekhaus@gmail.com> wrote:

> Hi All.
>
>
>
> Within the 'success' callback of a $.post call - I'm trying to reload the current page (here's a pastie -> http://pastie.org/10496733)
>
>
>
> My 'post' call works and now I'd like to refresh the page. Please help. (I realize that refreshing the page is not ideal - but its a very 'light' page :-) ).
>
>
>
> Thx Dave
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f272ac33-ab09-4bc3-bf2b-64931e5d1099%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0C224F80-E885-46E4-84DF-2A7E1AAFE782%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment