Index: lams_central/src/java/org/lamsfoundation/lams/web/DisplayGroupAction.java =================================================================== diff -u -r76aaa4283f0c9c4b95cae2104bdf453c02ee7721 -r0a60188d27bdb965b5bd1b989bd7ac83c622e0aa --- lams_central/src/java/org/lamsfoundation/lams/web/DisplayGroupAction.java (.../DisplayGroupAction.java) (revision 76aaa4283f0c9c4b95cae2104bdf453c02ee7721) +++ lams_central/src/java/org/lamsfoundation/lams/web/DisplayGroupAction.java (.../DisplayGroupAction.java) (revision 0a60188d27bdb965b5bd1b989bd7ac83c622e0aa) @@ -347,10 +347,11 @@ lessonLinks = new ArrayList(); } + if ((isGroupManagerOrMonitor && stateId.equals(OrganisationState.ACTIVE)) || (stateId.equals(OrganisationState.ARCHIVED) && contains(roles, Role.ROLE_GROUP_MANAGER))) { lessonLinks.add(new IndexLinkBean("index.monitor", - "javascript:openMonitorLesson(" + bean.getId() + ")", null, "mycourses-monitor-img", null)); + "javascript:showMonitorLessonDialog(" + bean.getId() + ")", null, "mycourses-monitor-img", null)); } // Adding lesson notifications links if enabled @@ -393,11 +394,11 @@ lessonLinks.add(new IndexLinkBean("index.remove.lesson", removeLessonLink, null, "mycourses-removelesson-img", "index.remove.lesson.tooltip")); } - + if ((isGroupManagerOrMonitor && stateId.equals(OrganisationState.ACTIVE)) || (stateId.equals(OrganisationState.ARCHIVED) && contains(roles, Role.ROLE_GROUP_MANAGER))) { lessonLinks.add(new IndexLinkBean("index.monitor", - "javascript:showMonitorLessonDialog(" + bean.getId() + ")", null, "mycourses-monitor-img", null)); + "javascript:openMonitorLesson(" + bean.getId() + ")", null, "mycourses-monitor-img", null)); } if (lessonLinks.size() > 0) {