1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

fix: go to training planning when trying to book not trained machine

This commit is contained in:
Sylvain 2016-08-10 18:07:57 +02:00
parent 8a68445d2e
commit 5af64d1cd0

View File

@ -126,7 +126,7 @@ _reserveMachine = (machine, e) ->
# modal is close with validation
$scope.ok = ->
$state.go('app.logged.trainings_reserve')
$state.go('app.logged.trainings_reserve', {id: $scope.machine.trainings[0].id})
$uibModalInstance.close(machine)
# modal is closed with escaping