| ... | @@ -89,7 +89,7 @@ $ -> |
... | @@ -89,7 +89,7 @@ $ -> |
|
|
if (flash = $(".flash-container")).length > 0
|
|
if (flash = $(".flash-container")).length > 0
|
|
|
flash.click -> $(@).fadeOut()
|
|
flash.click -> $(@).fadeOut()
|
|
|
flash.show()
|
|
flash.show()
|
|
|
setTimeout (-> flash.fadeOut()), 9000
|
|
setTimeout (-> flash.fadeOut()), 5000
|
|
|
|
|
|
|
|
# Disable form buttons while a form is submitting
|
|
# Disable form buttons while a form is submitting
|
|
|
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
|
|
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
|
| ... | |
... | |
| ... | | ... | |