projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aecefe
)
disable submissions
drzb2015
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 5 Feb 2015 18:08:46 +0000
(19:08 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 5 Feb 2015 18:08:46 +0000
(19:08 +0100)
app/js/controllers.js
patch
|
blob
|
history
diff --git
a/app/js/controllers.js
b/app/js/controllers.js
index
a395eef
..
b0f62ff
100644
(file)
--- 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 (