Index: lams_monitoring/web/css/monitorLesson.css =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/css/monitorLesson.css,v diff -u -r1.15.2.15 -r1.15.2.16 --- lams_monitoring/web/css/monitorLesson.css 1 Nov 2016 12:19:16 -0000 1.15.2.15 +++ lams_monitoring/web/css/monitorLesson.css 4 Nov 2016 14:46:29 -0000 1.15.2.16 @@ -293,6 +293,10 @@ margin-right: 5px; } +#sequenceInfoDialog { + cursor: pointer; +} + /********** LEARNERS TAB STYLES **********/ #tabLearnerControlTable td { padding: 0px; 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.44 -r1.44.2.45 --- lams_monitoring/web/includes/javascript/monitorLesson.js 3 Nov 2016 08:05:49 -0000 1.44.2.44 +++ lams_monitoring/web/includes/javascript/monitorLesson.js 4 Nov 2016 14:46:29 -0000 1.44.2.45 @@ -5,7 +5,7 @@ // it gets accessed so many times it's worth to cache it here sequenceCanvas = $('#sequenceCanvas'), // info box show timeout - sequenceInfoTimeout = 10000, + sequenceInfoTimeout = 8000, // which learner was selected in the search box sequenceSearchedLearner = null, // container for learners' progress bars metadata @@ -619,26 +619,30 @@ // small info box on Sequence tab, activated when the tab is showed showDialog('sequenceInfoDialog', { 'autoOpen' : false, - 'height' : 150, 'width' : 300, 'modal' : false, - 'resizable' : false, + 'resizable' : false, + 'draggable' : false, 'title' : LABELS.HELP, 'open' : function(){ // close after given time setTimeout(function(){ $('#sequenceInfoDialog').modal('hide') }, sequenceInfoTimeout); }, - 'close' : function(){ + 'close' : null, + 'data' : { + 'position' : { + 'my' : 'left top', + 'at' : 'left top', + 'of' : '#sequenceCanvas' + } } - }, false); - $('.modal-body', '#sequenceInfoDialog').empty().append($('#sequenceInfoDialogContents').show()); - - $('#sequenceInfoDialogCloseButton', '#sequenceInfoDialogContents').click(function(){ + }, false).click(function(){ $('#sequenceInfoDialog').modal('hide'); - }); - + }).find('.modal-header').remove(); + + $('#sequenceInfoDialog .modal-body').empty().append($('#sequenceInfoDialogContents').show()); } /**