Skip to content

Commit

Permalink
Vocaliser la validation de l'ajout d'un enfant
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagnoux authored Nov 15, 2016
2 parents 2797eff + 85d21bb commit c3fd330
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/js/controllers/foyer/enfants.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ angular.module('ddsApp').controller('FoyerEnfantsCtrl', function($scope, $locati
$scope.$on('individu.enfant', function(e, enfant) {
$scope.enfants.push(enfant);
$scope.displayForm = false;
var addEnfantButton = document.querySelector('.btn-new-entity');
addEnfantButton.focus();
});

$scope.$on('actionCancelled', function() {
Expand Down

0 comments on commit c3fd330

Please sign in to comment.