hotfix: fixed submitform permission error
This commit is contained in:
parent
27cb0ccee6
commit
393277e67a
|
@ -42,7 +42,7 @@ angular.module(ApplicationConfiguration.applicationModuleName).run(['$rootScope'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Redirect to 'home' route if user is not authenticated
|
//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
|
event.preventDefault(); // stop current execution
|
||||||
$state.go('home'); // go to listForms page
|
$state.go('home'); // go to listForms page
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2 class="modal-title hidden-md hidden-lg">Are you ABSOLUTELY sure?</h2>
|
<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>
|
<h3 class="modal-title hidden-xs hidden-sm">Are you ABSOLUTELY sure?</h3>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="modal-body-alert">
|
<div class="modal-body-alert">
|
||||||
|
|
Loading…
Reference in a new issue