[email protected] wrote:
> On 10 Mar., 05:41, Youyou Semsem <[email protected]>
> wrote:
>> Hi,
>> I have this annoying popup window for Web Password whenever a click on a
>> javascript action which require authentication. I have the problem for
>> FF, IE and Chrome. The problem isn't seen for non javascript action
>> where the user gets redirected to the html login page. Ideally, I want
>> even js to redirect there. Here is my access_denied. By the way, I tried
>> removing the format.any(:xml,:js) completely and the page just don't
>> react when I click on JS.
>>
>> def access_denied
> <snip>
>> � � � � � request_http_basic_authentication 'Web Password'
> <snip>
>> � � end
> 
> The #request_http_basic_authentication method prompts the user for a
> password. Maybe that is the "popup" you're talking about.

Yes I confirm that it is. When I remove it. Nothing happens when you 
click on a link_to_remote (js)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to