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 6185a83b94c29ad540ec4772f88f82a4a71bc1cd Author: Yannick Martel <martel@©odelutin.com> Date: Wed Feb 18 15:44:21 2015 +0100 fix referential search for documents --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index 8ea41c0..f8b7490 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -1393,6 +1393,8 @@ coselmarControllers.controller("ReferentialCtrl", ['$scope', '$routeParams', '$l if ($scope.search.onDocuments && $scope.search.keywords.length > 0) { documentService.getDocuments($scope.search.keywords, function(documents) { $scope.result.documents = documents; + }, function() { + $scope.result.documents = []; }); }; -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.