Permalink
Browse files

call confirmation2

  • Loading branch information...
1 parent a9f3983 commit 7eed4756a197c3f72bc4743e10534684921f5541 @chrismatthieu committed Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/facebook/index.html.erb
@@ -43,7 +43,7 @@
<% if telephoneuser %>
<%# link_to_redbox(image_tag('http://graph.facebook.com/' + friend["id"] + '/picture', :title => friend["name"]), :inline_invite, html_options = {})%>
- <%= link_to(image_tag('http://graph.facebook.com/' + friend["id"] + '/picture', :title => friend["name"]), nil, :onclick => "popitup('/telephone/" + telephoneuser.facebookid + "')", :confirm => 'Call ' + friend["name"] + '?')%>
+ <%= link_to(image_tag('http://graph.facebook.com/' + friend["id"] + '/picture', :title => friend["name"]), nil, :onclick => "return confirm('Call ' + friend["name"] + '?');popitup('/telephone/" + telephoneuser.facebookid + "')")%>
<% end %>
<%# image_tag 'http://graph.facebook.com/' + friend["id"] + '/picture', :title => friend["name"]%>

0 comments on commit 7eed475

Please sign in to comment.