diff --git a/angular_app/js/controllers.js b/angular_app/js/controllers.js index 5906daf..a58e65f 100644 --- a/angular_app/js/controllers.js +++ b/angular_app/js/controllers.js @@ -634,6 +634,7 @@ eventManControllers.controller('EventTicketsCtrl', ['$scope', '$state', 'Event', }; $scope.submitForm = function(dataModelSubmitted) { + $scope.ticket = {_id: $scope.ticket._id}; angular.forEach(dataModelSubmitted, function(value, key) { key = $scope.formFieldsMap[key] || key; $scope.ticket[key] = value;