Adds extra logging.

This commit is contained in:
George Politis 2015-02-19 13:27:44 +01:00
parent 4d39d4ccc3
commit ed57f72117
2 changed files with 4 additions and 1 deletions

View File

@ -482,6 +482,7 @@ function onSelectedEndpointChanged(userResource)
_dataChannels.some(function (dataChannel) {
if (dataChannel.readyState == 'open')
{
console.log('sending data channel notification that the selected endpoint changed: ', userResource);
dataChannel.send(JSON.stringify({
'colibriClass': 'SelectedEndpointChangedEvent',
'selectedEndpoint':
@ -25311,4 +25312,4 @@ function isUndefined(arg) {
}
},{}]},{},[1])(1)
});
});

View File

@ -194,6 +194,8 @@ function onSelectedEndpointChanged(userResource)
_dataChannels.some(function (dataChannel) {
if (dataChannel.readyState == 'open')
{
console.log('sending selected endpoint changed '
+ 'notification to the bridge: ', userResource);
dataChannel.send(JSON.stringify({
'colibriClass': 'SelectedEndpointChangedEvent',
'selectedEndpoint':