Lightbox issue


#1

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…

<% 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 %>