~egoday/+junk/ftpbox

« back to all changes in this revision

Viewing changes to app/views/attachments/send_mail.rjs

  • Committer: Emiliano Goday Caneda
  • Date: 2008-10-16 09:41:00 UTC
  • Revision ID: egoday@gmail.com-20081016094100-9mye9wuyzvq6bspo
fix alerts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
page.replace_html 'attachments_table_alert',
2
2
    '<div id="add_alert" class="alert_notice" style="display: none">Correo enviado correctamente</div>'
3
3
 
 
4
page.visual_effect  :fade, 'mail_section'
4
5
page.visual_effect :appear, 'add_alert'
5
6
 
6
 
page.visual_effect  :fade, 'mail_section'
7
 
 
8
 
page.delay(5) do
9
 
    page.visual_effect :fade, 'add_alert', :duration => 3
 
7
page.delay(2) do
 
8
    page.visual_effect :fade, 'add_alert', :duration => 1
10
9
end
 
 
b'\\ No newline at end of file'