This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit f5c64fb7ac63e3aa08b7d81fdb9ee7d4ee4c6a15 Author: Yannick Martel <martel@©odelutin.com> Date: Thu Dec 11 17:47:43 2014 +0100 fix bug during document creation --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index db3f727..9d03c2b 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -102,7 +102,7 @@ coselmarControllers.controller("NewDocumentCtrl", ['$scope', '$location', 'docum $scope.createNewDocument = function(isValidForm){ - if (angular.isDate($scope.question.publicationDate)) { + if (angular.isDate($scope.document.publicationDate)) { $scope.document.publicationDate = $scope.document.publicationDate.getTime(); } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.