Forum: Ruby on Rails Lightbox issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5df29c19c70eadbe96e184581f1fb2b?d=identicon&s=25 Radha Langde (radha)
on 2009-03-04 05:55
Hello friends,

I m using lightbox in my rails application. After clicking on a link,
lightbox opens but my problem is

when user goes on pressing enter without clicking on a lightbox window,
multiple lighboxs open.

How to prevent this.

any suggestions are greatly appreciated.

Thanks....
below is my code...
 <td align="right"><% if @file_currency %><%=link_to
"#{@file_currency.currency}"+"#{number_with_precision(@revenues,2)}",{:action=>"exchange_currency",
:id => open_files.id, :revenue => @revenues},:class => 'lbOn' %><% end
%></td>
This topic is locked and can not be replied to.