VRFS-2344 show musician hover on pages 2-n on Find Session screen

This commit is contained in:
Brian Smith 2014-10-13 20:58:30 -04:00
parent 1673d88760
commit ab66504532
2 changed files with 4 additions and 3 deletions

View File

@ -372,11 +372,11 @@ module JamRuby
ms.invitations << invitation
# if the session start time is not within the next 1 minute (user could create a "scheduled session"
# for 8:30 at 8:29. In this case send the regular
# for 8:30 at 8:29. In this case send the regular scheduled session notification since it's still "future")
# send SCHEDULED SESSION INVITATION
if ms.scheduled_start && (ms.scheduled_start - Time.now.utc) / 60 > 1
Notification.send_scheduled_session_invitation(ms, receiver)
# otherwise send the notification that allows the user to join the session directly
else
Notification.send_session_invitation(receiver, user, ms.id)

View File

@ -82,7 +82,6 @@
}
})
.always(function() {
context.JK.bindHoverEvents();
$ssSpinner.hide();
});
@ -162,6 +161,8 @@
$.each(sessions.sessions, function(i, session) {
sessionList.renderInactiveSession(session, $(CATEGORY.SCHEDULED.id), undefined, sessions.my_audio_latency);
});
context.JK.bindHoverEvents();
afterLoadScheduledSessions(sessions.sessions);
}