hotfix: fixed submitform permission error

This commit is contained in:
David Baldwynn 2015-11-06 19:40:39 -08:00
parent 27cb0ccee6
commit 393277e67a
2 changed files with 3 additions and 1 deletions

View file

@ -42,7 +42,7 @@ angular.module(ApplicationConfiguration.applicationModuleName).run(['$rootScope'
}
}
//Redirect to 'home' route if user is not authenticated
else if(toState.name !== 'access_denied' && !Auth.isAuthenticated() ){
else if(toState.name !== 'access_denied' && !Auth.isAuthenticated() && toState.name !== 'submitForm'){
event.preventDefault(); // stop current execution
$state.go('home'); // go to listForms page
}

View file

@ -5,6 +5,8 @@
<div class="modal-header">
<h2 class="modal-title hidden-md hidden-lg">Are you ABSOLUTELY sure?</h2>
<h3 class="modal-title hidden-xs hidden-sm">Are you ABSOLUTELY sure?</h3>
</div>
<div class="modal-body">
<div class="modal-body-alert">