Commit 824e34a2c300d9d974769267d9284cb2c5f02670

Authored by Daniela Feitosa
1 parent 6681c3e6

Removed lightbox message that page was not loaded

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
app/helpers/lightbox_helper.rb
@@ -22,10 +22,7 @@ module LightboxHelper @@ -22,10 +22,7 @@ module LightboxHelper
22 def lightbox_options(options, lightbox_type = 'lbOn') 22 def lightbox_options(options, lightbox_type = 'lbOn')
23 the_class = lightbox_type 23 the_class = lightbox_type
24 the_class << " #{options[:class]}" if options.has_key?(:class) 24 the_class << " #{options[:class]}" if options.has_key?(:class)
25 - options.merge(  
26 - :class => the_class,  
27 - :onclick => 'alert("%s"); return false' % _('Please, try again when the page loading completes.')  
28 - ) 25 + options.merge(:class => the_class)
29 end 26 end
30 27
31 def lightbox? 28 def lightbox?