Skip to content

Commit

Permalink
Vocaliser validation de l'ajout d'un enfant
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagnoux committed Nov 15, 2016
1 parent 2797eff commit 85d21bb
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 85d21bb

Please sign in to comment.