Initial commit for separate menus
This commit is contained in:
@ -26,6 +26,10 @@ goat.controller('goatMenu', function($scope, $http) {
|
||||
$("#lesson_content").html(reply);
|
||||
// hook forms
|
||||
makeFormsAjax();
|
||||
// adjust menu to lessonContent size if necssary
|
||||
if ($('div.panel-body').height() > 400) {
|
||||
$('#leftside-navigation').height($(window).height());
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
@ -61,6 +65,9 @@ goat.addMenuClasses = function(arr) {
|
||||
};
|
||||
|
||||
|
||||
/* ### GOAT DATA/PROMISES ### */
|
||||
|
||||
|
||||
function loadLessonContent(_url) {
|
||||
//TODO: switch to $http (angular)
|
||||
return $.get(_url,{},null,"html");
|
||||
|
Reference in New Issue
Block a user