Skip to content

Commit

Permalink
Got it working
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Neufeld committed Aug 5, 2009
1 parent c043e1f commit cb4553a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/freemailer_campaigns_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ def page_link(page, text, attributes = {})
}else{
new_page=old_page.gsub(/(\d+)$/,#{page});
}
alert(new_page);
EOS

<<-EOS
<a onclick="#{onclick}; Modalbox.show(text,new_page,{title: Modalbox.title, width: '450'});" href="#">#{text}</a>
<a onclick="#{onclick}; Modalbox.show(new_page,{title: Modalbox.title, width: '450'});" href="#">#{text}</a>
EOS
end

Expand Down

0 comments on commit cb4553a

Please sign in to comment.