Index: lams_flash/src/central/flash/lams_monitoring_v1.fla =================================================================== diff -u -r853036d1bfb199ee42a2e1d785590509d4b3b9de -r99fc8450d25c42919c50890c2009387491b7bb05 Binary files differ Index: lams_flash/src/common/flash/org/lamsfoundation/lams/common/LearnerComplexActivity.as =================================================================== diff -u -r279eb9923e590404e9eec790ee85645ca46e184e -r99fc8450d25c42919c50890c2009387491b7bb05 --- lams_flash/src/common/flash/org/lamsfoundation/lams/common/LearnerComplexActivity.as (.../LearnerComplexActivity.as) (revision 279eb9923e590404e9eec790ee85645ca46e184e) +++ lams_flash/src/common/flash/org/lamsfoundation/lams/common/LearnerComplexActivity.as (.../LearnerComplexActivity.as) (revision 99fc8450d25c42919c50890c2009387491b7bb05) @@ -29,8 +29,10 @@ import org.lamsfoundation.lams.authoring.SequenceActivity; import org.lamsfoundation.lams.authoring.DesignDataModel; import org.lamsfoundation.lams.authoring.cv.ICanvasActivity; +import org.lamsfoundation.lams.learner.ls.LessonModel; import org.lamsfoundation.lams.learner.ls.LessonController; import org.lamsfoundation.lams.learner.Application; +import org.lamsfoundation.lams.monitoring.mv.MonitorModel; import org.lamsfoundation.lams.monitoring.mv.MonitorController; import org.lamsfoundation.lams.monitoring.mv.tabviews.LearnerTabView; import org.lamsfoundation.lams.common.style. *; @@ -154,22 +156,29 @@ for(var i=0; i 19){ - toolTitle = toolTitle.substr(0, 17)+"..." - } + toolTitle = _activity.title; + + if (toolTitle.length > 19) + toolTitle = toolTitle.substr(0, 17)+"..."; title_lbl.text = toolTitle; containerPanelHeader.title_lbl.text = toolTitle; @@ -363,7 +372,7 @@ _doubleClicking = true; //if we double click on the glass mask - then open the container to allow the usr to see the activities inside. - draw (); + draw(); controller.activityDoubleClick(this); } else { @@ -442,6 +451,13 @@ } } + public function get model(){ + if(isLearnerModule()) + return LessonModel(_controller.getModel()); + else + return MonitorModel(_controller.getModel()); + } + public function get activityStatus():String{ return actStatus; } @@ -479,8 +495,7 @@ return _panelHeight; } - public function setSelected(isSelected) { - + public function setSelected(isSelected) { } public function get isCurrent():Boolean { @@ -493,5 +508,9 @@ public function get isAttempted():Boolean { return (actStatus == 'attempted_mc'); + } + + public function get learnerID():Number{ + return learner.getLearnerId(); } }