From: Dobrica Pavlinusic Date: Thu, 5 Feb 2015 18:08:46 +0000 (+0100) Subject: disable submissions X-Git-Url: http://git.rot13.org/?p=angular-drzb;a=commitdiff_plain;h=refs%2Fheads%2Fdrzb2015 disable submissions --- diff --git a/app/js/controllers.js b/app/js/controllers.js index a395eef..b0f62ff 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -177,7 +177,7 @@ function RegistrationCtrl($scope, $log, Registration, $routeParams, $location, $ $scope.show_submission_type = function() { // FIXME check if all submission are allowed by date and allow them! - return true; +// return true; if ( angular.isUndefined( $scope.user ) || angular.isUndefined( $scope.registration ) ) return false; return (