comment
This commit is contained in:
parent
6d80885a5d
commit
5ffcb63fb3
@ -1135,7 +1135,7 @@ QR =
|
|||||||
submit: (e) ->
|
submit: (e) ->
|
||||||
#XXX e is undefined if method is called explicitly, eg, from auto posting
|
#XXX e is undefined if method is called explicitly, eg, from auto posting
|
||||||
unless QR.hasContent()
|
unless QR.hasContent()
|
||||||
alert 'Error: No text entered.' if e
|
alert 'Error: No text entered.' if e #don't alert at the end of auto posting
|
||||||
return
|
return
|
||||||
{qr} = QR
|
{qr} = QR
|
||||||
$('.error', qr).textContent = ''
|
$('.error', qr).textContent = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user