Index: lams_monitoring/web/includes/javascript/monitorLesson.js
===================================================================
RCS file: /usr/local/cvsroot/lams_monitoring/web/includes/javascript/monitorLesson.js,v
diff -u -r1.44.2.60 -r1.44.2.61
--- lams_monitoring/web/includes/javascript/monitorLesson.js 13 Mar 2017 12:48:33 -0000 1.44.2.60
+++ lams_monitoring/web/includes/javascript/monitorLesson.js 28 Mar 2017 06:07:42 -0000 1.44.2.61
@@ -1079,7 +1079,7 @@
'y' : coord.y,
'height' : 16,
'width' : 16,
- 'xlink:href' : LAMS_URL + 'images/icons/'
+ 'xlink:href' : LAMS_URL + 'images/icons/'
+ (learner.id == sequenceSearchedLearner ? 'user_red.png'
: (learner.leader ? 'user_online.png' : 'user.png')),
'style' : 'cursor : pointer'
@@ -1122,17 +1122,16 @@
.css('cursor', 'pointer')
// drag learners to force complete activities
.draggable({
- 'appendTo' : '#tabSequence',
- 'containment' : '#tabSequence',
+ 'appendTo' : '#t2',
+ 'containment' : '#t2',
'distance' : 20,
'scroll' : false,
'cursorAt' : {'left' : 10, 'top' : 15},
- 'helper' : function(event){
- // copy of the icon for dragging
- return $('
').attr('src', LAMS_URL + 'images/icons/user.png');
- },
+ 'helper' : function(){
+ return $('
').attr('src', LAMS_URL + 'images/icons/user.png');
+ },
'start' : function(){
- autoRefreshBlocked = true;
+ autoRefreshBlocked = true;
},
'stop' : function(event, ui) {
var learners = [{
@@ -1208,7 +1207,7 @@
'src' : LAMS_URL + 'images/icons/'
+ (learner.id == sequenceSearchedLearner ? 'user_red.png' : 'user.png'),
'style' : 'cursor : pointer',
- 'title' : getLearnerDisplayName(learner)
+ 'title' : getLearnerDisplayName(learner)
})
// drag learners to force complete activities
.draggable({
@@ -2157,4 +2156,4 @@
lastTapTime = currentTime;
lastTapTarget = event.currentTarget;
});
-}
+}
\ No newline at end of file