mirror of
https://github.com/nextcloud/passman.git
synced 2025-09-25 22:35:55 +08:00
Small fix for navigating away
This commit is contained in:
parent
f4c245e0e3
commit
7be6f8c0a1
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@
|
|||
|
||||
|
||||
$scope.$on("$locationChangeStart", function(event) {
|
||||
if(!sharing_complete){
|
||||
if(!$scope.sharing_complete){
|
||||
if(!confirm("Are you sure you want to leave?\nThis will corrupt this credential")){
|
||||
event.preventDefault();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue