* VRFS-1777 fixing hoverOut issue; also adding some debugs for missing mixers

This commit is contained in:
Seth Call 2014-06-13 15:03:48 -05:00
parent 8b85d2fb7f
commit f00ac3b164
3 changed files with 16 additions and 2 deletions

View File

@ -71,13 +71,24 @@
$channel.data('cloned', hoverChannel);
hoverChannel
.hover(function(e) {}, function() { removeHoverer($(this)); })
.hover(function(e) {
var hoverCheckTimeout = hoverChannel.data('hoverCheckTimeout');
if(hoverCheckTimeout) {
clearTimeout(hoverCheckTimeout);
hoverChannel.data('hoverCheckTimeout', null);
}
}, function() { removeHoverer($(this)); })
.mousedown(function(e) {
// because we have obscured the element the user wants to drag,
// we proxy a mousedown on the hover-element to the covered .ftue-input ($channel).
// this causes jquery.drag to get going even though the user clicked a different element
$channel.trigger(e)
})
hoverChannel.data('hoverCheckTimeout', setTimeout(function() {
// check if element has already been left
hoverChannel.data('hoverCheckTimeout', null);
removeHoverer(hoverChannel);
}, 500));
hoverChannel.prependTo($offsetParent);
}

View File

@ -75,7 +75,6 @@
"PeerMediaTrackGroup": 10
};
function beforeShow(data) {
sessionId = data.id;
promptLeave = true;
@ -817,6 +816,8 @@
],
usedMixers);
if (mixer) {
var participant = (sessionModel.getParticipant(clientId) || {name:'unknown'}).name;
logger.debug("found mixer=" + mixer.id + ", participant=" + participant)
usedMixers[mixer.id] = true;
keysToDelete.push(key);
var gainPercent = percentFromMixerValue(
@ -839,6 +840,8 @@
$('.disabled-track-overlay', $track).show();
$('.track-connection', $track).removeClass('red yellow green').addClass('red');
}
var participant = (sessionModel.getParticipant(clientId) || {name:'unknown'}).name;
logger.debug("still looking for mixer=" + mixer.id + ", participant=" + participant)
}
}