Index: lams_monitoring/web/includes/javascript/monitorLesson.js =================================================================== diff -u -r10e18e7fa7a4a12ddd5266f712e05a1bfacfd1b0 -rc409342a1ec177f2f5a6d324a9006bf3694697d6 --- lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 10e18e7fa7a4a12ddd5266f712e05a1bfacfd1b0) +++ lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision c409342a1ec177f2f5a6d324a9006bf3694697d6) @@ -1,4 +1,4 @@ -// ********** GLOBAL VARIABLES ********** +// ********** GLOBAL VARIABLES ********** // copy of lesson SVG so it does no need to be fetched every time var originalSequenceCanvas = null, // DIV container for lesson SVG @@ -1758,18 +1758,17 @@ } if (activity.learnerCount > 0){ - var learnerGroup = $('#act' + activity.id + 'learnerGroup', sequenceCanvas); - dblTap(learnerGroup, function(event){ - // double click on learner group icon to see list of learners - event.stopPropagation(); - var ajaxProperties = { - url : LAMS_URL + 'monitoring/monitoring/getCurrentLearners.do', - data : { - 'activityID' : activity.id - } - }; - showLearnerGroupDialog(ajaxProperties, activity.title, false, true, usersViewable, false); - }); + $('#act' + activity.id + 'learnerGroup', sequenceCanvas) + .click(function(event){ + // double click on learner group icon to see list of learners + var ajaxProperties = { + url : LAMS_URL + 'monitoring/monitoring/getCurrentLearners.do', + data : { + 'activityID' : activity.id + } + }; + showLearnerGroupDialog(ajaxProperties, activity.title, false, true, usersViewable, false); + }); } if (activity.requiresAttention){ @@ -1843,12 +1842,11 @@ }); - var groupIcon = $('
') - .addClass('more-learner-icon') - .text(learnerCount) - .appendTo(iconsContainer); - - dblTap(groupIcon, function(){ + $('
') + .addClass('more-learner-icon') + .text(learnerCount) + .appendTo(iconsContainer) + .click(function(){ var ajaxProperties = { url : LAMS_URL + 'monitoring/monitoring/getCurrentLearners.do', data : {