[pollen] branch feature/permissionPollRestricted updated (2e4da27 -> c6d0d16)
This is an automated email from the git hooks/post-receive script. New change to branch feature/permissionPollRestricted in repository pollen. See http://git.chorem.org/pollen.git from 2e4da27 redirect if not admin in user list, fix edit vote new c6d0d16 redirect to Retricted tab if error in voterList The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: 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 Summary of changes: pollen-ui-angular/src/main/webapp/js/controllers/pollCtrl.js | 3 +++ 1 file changed, 3 insertions(+) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
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>.
participants (1)
-
chorem.org scm