Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

call confirmation2

  • Loading branch information...
commit 7eed4756a197c3f72bc4743e10534684921f5541 1 parent a9f3983
@chrismatthieu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/facebook/index.html.erb
View
2  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"]%>
Please sign in to comment.
Something went wrong with that request. Please try again.