Skip to content
Browse files

switch to obtrusive rpx_popups

  • Loading branch information...
1 parent 8ebdb06 commit 7915fe08d95bcf20e43f1cf36763ae6f93b0f61a @tardate tardate committed Oct 15, 2009
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/views/layouts/application.html.erb
  2. +3 −3 app/views/users/_form.html.erb
View
2 app/views/layouts/application.html.erb
@@ -20,7 +20,7 @@
<% else %>
<%= link_to "Register", new_user_path %> |
<%= link_to "Sign in", signin_path %> |
- <%= rpx_popup( :link_text => "Register/Sign in with RPX..", :app_name => RPX_APP_NAME, :return_url => user_sessions_url ) %>
+ <%= rpx_popup( :link_text => "Register/Sign in with RPX..", :app_name => RPX_APP_NAME, :return_url => user_sessions_url, :unobtrusive => false ) %>
<% end %>
</div>
View
6 app/views/users/_form.html.erb
@@ -18,13 +18,13 @@
</p>
<p>
<% if @user.new_record? %>
- <%= rpx_popup( :link_text => ".. or register using RPX", :app_name => RPX_APP_NAME, :return_url => user_sessions_url ) %>
+ <%= rpx_popup( :link_text => ".. or register using RPX", :app_name => RPX_APP_NAME, :return_url => user_sessions_url, :unobtrusive => false ) %>
<% else %>
<% if @user.using_rpx? %>
<%= f.label "This account is enabled for RPX authentication" %>
- (<%= rpx_popup( :link_text => "change RPX authentication for this account", :app_name => RPX_APP_NAME, :return_url => addrpxauth_url, :add_rpx => true ) %> )
+ (<%= rpx_popup( :link_text => "change RPX authentication for this account", :app_name => RPX_APP_NAME, :return_url => addrpxauth_url, :add_rpx => true, :unobtrusive => false ) %> )
<% else %>
- <%= rpx_popup( :link_text => "Add RPX authentication for this account..", :app_name => RPX_APP_NAME, :return_url => addrpxauth_url, :add_rpx => true ) %>
+ <%= rpx_popup( :link_text => "Add RPX authentication for this account..", :app_name => RPX_APP_NAME, :return_url => addrpxauth_url, :add_rpx => true, :unobtrusive => false ) %>
<% end %>
<% end %>

0 comments on commit 7915fe0

Please sign in to comment.
Something went wrong with that request. Please try again.