Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-10-15 18:49:56 +0300
committerbrantje <brantje@gmail.com>2016-10-14 16:49:08 +0300
commit7be6f8c0a127f676bb1ec244ee386fa8a7b11e7f (patch)
tree696cbfebcd831702f26f0b8e471993b02bd33b88 /js
parentf4c245e0e363c5e00b4dfcac1dfa0fd4fb7886ff (diff)
Small fix for navigating away
Diffstat (limited to 'js')
-rw-r--r--js/app/controllers/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js
index 79ec4690..3ad46817 100644
--- a/js/app/controllers/share.js
+++ b/js/app/controllers/share.js
@@ -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();
}