Commit d0900c6b authored by csillag's avatar csillag

When trying to reply without signing in, show warning.

This is a workaround, until we can get the forced
log-in workflow properly working for these cases.

Closes #364.
parent 85c5dc44
......@@ -566,7 +566,7 @@ class Annotation
$scope.reply = ($event) ->
$event?.stopPropagation()
unless annotator.plugins.Auth? and annotator.plugins.Auth.haveValidToken()
$scope.$emit 'showAuth', true
$window.alert "In order to reply, you need to sign in."
return
references =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment