search for: bad_login

Displaying 2 results from an estimated 2 matches for "bad_login".

2006 Jan 30
10
form_remote_tag and redirects
...t; {:controller => ''login'', :action => ''login''}) %> The Action ============ if logged_in render(:text => "window.location.href = ''http://0.0.0.0:3000/admin'';") else render(:layout => false, :action => ''bad_login'') <-- which is just a template with an Effect.Shake So, is there any other way to do a redirect from an action via a form_remote_tag than using the window.location hack ? Crossing my fingers there is a way :) TIA ! -------------- next part -------------- An HTML attachment was scrub...
2006 Feb 22
3
how to escape from AJAX URL
This may be a bit difficult to explain, but here goes. I''m developing a web site which has a nice AJAX part to it (thanks to rails). You just click on the link and it take you to the ajax part which is on a seperate page. -The user then selects directories or files from via a multiple menu. -When the user selects a directory (and hits the submit button) the menu is updated with the