Show permission messages on the browser side

This commit is contained in:
Peter 'Pita' Martischka 2011-08-15 18:26:20 +01:00
parent 255dc5a325
commit 48980f9e19
2 changed files with 43 additions and 8 deletions

View file

@ -602,7 +602,7 @@ function handleClientReady(client, message)
//no access, send the client a message that tell him why
else
{
client.send({accessStatus: statusObject.accessStatus})
client.json.send({accessStatus: statusObject.accessStatus})
}
});
},