minor changes from this AM
This commit is contained in:
parent
b18d320bd1
commit
05cdeda1ba
@ -19,7 +19,6 @@ var goatConstants = {
|
||||
solutionService:'service/solution.mvc',
|
||||
lessonPlanService:'service/lessonplan.mvc',
|
||||
menuService: 'service/lessonmenu.mvc',
|
||||
paramService: 'service/parms.mvc', //this is a stub .. need to discuss this
|
||||
// literals
|
||||
notFound: 'Could not find'
|
||||
};
|
||||
|
@ -29,6 +29,7 @@ goat.controller('goatLessonMenu', function($scope, $http, $modal, $log, $templat
|
||||
//render lesson title
|
||||
$('#lessonTitle').text(goat.utils.extractLessonTitle($(reply)));
|
||||
// adjust menu to lessonContent size if necssary
|
||||
//@TODO: this is still clunky ... needs some TLC
|
||||
if ($('div.panel-body').height() > 400) {
|
||||
$('#leftside-navigation').height($(window).height());
|
||||
}
|
||||
|
@ -33,6 +33,8 @@ goat.lesson = {
|
||||
scope.hints = resp;
|
||||
if (scope.hints.length > 0) {
|
||||
goat.utils.displayButton('showHintsBtn',true);
|
||||
} else {
|
||||
goat.utils.displayButton('showHintsBtn',false);
|
||||
}
|
||||
return scope;
|
||||
},
|
||||
|
@ -46,6 +46,7 @@ goat.utils = {
|
||||
$('.lessonHelp').hide();
|
||||
$('#lesson_source').html("<pre>"+goat.lesson.lessonInfo.source+"</pre>");
|
||||
$('#lesson_source_row').show();
|
||||
goat.utils.scrollToHelp();
|
||||
},
|
||||
showLessonSolution: function() {
|
||||
$('.lessonHelp').hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user