Skip to content

Commit

Permalink
SAK-31640 - Check for the new gradebook in edit dialog (sakaiproject#…
Browse files Browse the repository at this point in the history
  • Loading branch information
csev authored Aug 4, 2016
1 parent e01b015 commit af9db2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public void prepareEdit(RenderRequest request)
for(ToolConfiguration tool : (List<ToolConfiguration>) page.getTools()) {
String tid = tool.getToolId();
if ( "sakai.lessonbuildertool".equals(tid) ) foundLessons = true;
if ( "sakai.gradebook.tool".equals(tid) || "sakai.gradebook.gwt.rpc".equals(tid) ) foundGradebook = true;
if ( tid != null && tid.startsWith("sakai.gradebook") ) foundGradebook = true;
}
}
} catch (IdUnusedException ex) {
Expand Down

0 comments on commit af9db2c

Please sign in to comment.