From 88906c30a89266220814760a2098b181158d08f7 Mon Sep 17 00:00:00 2001 From: Matan Bar Yosef Date: Tue, 23 Jun 2015 20:34:26 +0300 Subject: [PATCH] - my classes fixed buttons --- templates/js/controllers/myClassesController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/js/controllers/myClassesController.js b/templates/js/controllers/myClassesController.js index 8ca5128..879dcbb 100644 --- a/templates/js/controllers/myClassesController.js +++ b/templates/js/controllers/myClassesController.js @@ -30,12 +30,14 @@ angular.module('SeHub') $scope.createCourseClicked = function() { $scope.isNewCourse = true; + $scope.showMyClass = false; console.log("create course Clicked!!"); } $scope.showMyCourses = function() { $scope.showMyClass = true; + $scope.isNewCourse = false; } $scope.submitNewClassClicked = function()