This is an automated email from the git hooks/post-receive script. New commit to branch feature/permissionPollRestricted in repository pollen. See http://git.chorem.org/pollen.git commit c6d0d168a95343a8a59779c2282835b054cc4826 Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Wed Aug 6 17:01:03 2014 +0200 redirect to Retricted tab if error in voterList --- pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js b/pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js index 3022d8e..86182c5 100644 --- a/pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js +++ b/pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js @@ -864,6 +864,7 @@ angular.module('pollControllers', ['ngRoute', 'pollenServices', 'pascalprecht.tr delete voterList.group.restError; }, function (error) { voterList.group.restError = error.data; + $location.url($scope.globalVariables.linkParticipant.split('#')[1]); }); } else { // new group // set default name for restricted poll type @@ -920,6 +921,8 @@ angular.module('pollControllers', ['ngRoute', 'pollenServices', 'pascalprecht.tr deltaError++; } }); + + $location.url($scope.globalVariables.linkParticipant.split('#')[1]); }); } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.