From fd11a512bd1faf8c6d57fd602fd9044f6f8d3f37 Mon Sep 17 00:00:00 2001 From: Matan Bar Yosef Date: Mon, 15 Jun 2015 17:46:02 +0300 Subject: [PATCH] changing branch name to UI --- .../js/controllers/registerController.js | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/templates/js/controllers/registerController.js b/templates/js/controllers/registerController.js index c243edc..71abbaa 100644 --- a/templates/js/controllers/registerController.js +++ b/templates/js/controllers/registerController.js @@ -1,7 +1,6 @@ angular.module('SeHub') .controller('registerController', ['$scope', '$cookies', '$cookieStore', '$window', '$location', '$mdToast', '$mdDialog', 'apiService', '$rootScope', function ($scope, $cookies, $cookieStore, $window, $location, $mdToast, $mdDialog, apiService ,$rootScope) { - $scope.userHasNoName = false; $scope.campusChecked = false; $scope.isEmpty = true; // if the academic email line is empty @@ -31,7 +30,6 @@ angular.module('SeHub') { // TODO }); - }); $scope.dropdownClicked = function() @@ -67,6 +65,28 @@ angular.module('SeHub') }); }; }; + + + // TODO FOR LATER - toast + // TODO FOR LATER + + // $scope.getPopWindowPosition = function() + // { + // return Object.keys($scope.toastPosition).filter(function(pos) + // { + // return $scope.toastPosition[pos]; + // }).join(' '); + // }; + + // $scope.toastPosition = + // { + // bottom: false, + // top: true, + // left: false, + // right: true + // }; + + // TODO FOR LATER + // TODO FOR LATER + }]); - -