return !egCore.env.aous['circ.obscure_dob'];
}
- $scope.obscure_dob = function() { return egCore.env.aous['circ.obscure_dob']; }
- $scope.now_show_dob = function() { return egCore.env.aous['circ.obscure_dob'] ? $scope.show_dob() : true; }
+ $scope.obscure_dob = function() {
+ return egCore.env.aous && egCore.env.aous['circ.obscure_dob'];
+ }
+ $scope.now_show_dob = function() {
+ return egCore.env.aous && egCore.env.aous['circ.obscure_dob'] ?
+ $scope.show_dob() : true;
+ }
+
$scope.patron = function() { return patronSvc.current }
$scope.patron_stats = function() { return patronSvc.patron_stats }
$scope.summary_stat_cats = function() { return patronSvc.summary_stat_cats }