add logging

This commit is contained in:
Konstantin Haase 2012-12-17 19:58:34 +01:00
parent edf6f49864
commit 7ce690aecf

View File

@ -72,6 +72,7 @@
path
receiveMessage: (event) ->
console.log(event)
if event.origin == @expectedOrigin()
if event.data == 'redirect'
window.location = "#{@endpoint}/auth/handshake?redirect_uri=#{location}"