mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 21:16:18 +10:00
add error message when invite people failed
This commit is contained in:
@@ -40,6 +40,11 @@ $ ->
|
||||
setTimeout ()->
|
||||
node.hide('slow').remove()
|
||||
,4000
|
||||
|
||||
error: ->
|
||||
node = $('<div></div>').addClass('alert').addClass('alert-error').text 'Sorry,there are some errors occured.'
|
||||
node.insertBefore('p.alert.alert-info')
|
||||
setTimeout ()->
|
||||
node.hide('slow').remove()
|
||||
,4000
|
||||
$('.do-add').click ->
|
||||
$('.add-member-form').ajaxSubmit options
|
||||
Reference in New Issue
Block a user