problem with sortable lists and IE
- From: "Joe Hudson" <joehud (at) gmail.com>
- Date: Tue, 14 Feb 2006 11:58:23 -0500
Thanks Rob. I have tried to use the following url:
/test/ajax/order.action
And I still have the same problem listed before.
I'm not sure what "Tamper Data" is as I am fairly new to the stuff. Could
you explain?
Also, the only major difference between the URL that works
"http://demo.script.aculo.us/ajax/order" and the URL that doesn't
"/test/ajax/order.action" is the fact that my local URL had an extension
(.action). Would this cause a problem? Thanks.
Joe
-----Original Message-----
From: rails-spinoffs-bounces (at) lists.rubyonrails.org
[mailto:rails-spinoffs-bounces (at) lists.rubyonrails.org] On Behalf Of Robin
Haswell
Sent: Tuesday, February 14, 2006 11:02 AM
To: rails-spinoffs (at) lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] problem with sortable lists and IE
You should keep your "url" variables local only = eg "/ajax/order". That
will make sure you use the right script on the right page. Have you
tried using Tamper Data?
-Rob
Joe Hudson wrote:
> Thank you very much for your reply, Cam.
>
> Actually I am having the opposite problem. I can successfully test
against
> 'http://demo.script.aculo.us/ajax/order' even when I am serving up the
page
> locally. The problem that I am having is when I try to use localhost as
the
> Ajax URL. Any ideas?
>
>
> -----Original Message-----
> From: rails-spinoffs-bounces (at) lists.rubyonrails.org
> [mailto:rails-spinoffs-bounces (at) lists.rubyonrails.org] On Behalf Of Cam
McVey
> Sent: Tuesday, February 14, 2006 10:48 AM
> To: rails-spinoffs (at) lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] problem with sortable lists and IE
>
> Hi Joe,
>
> The problem is that you're attempting to make a remote call via the
> Ajax.Updater with is not allowed. (It's a security thing -- calls are
> only allowed to go back to the server that originally served up the
> page).
>
> Where you have: "new Ajax.Updater('list-info',
> 'http://demo.script.aculo.us/ajax/order', ..."
>
> Change it to call a page on "'http://localhost:8080/"
>
> Hope this helps!
>
> Regards,
> Cam
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs (at) lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs