From 538a9968925d0e86c27b4a413c68f28b37d495c4 Mon Sep 17 00:00:00 2001 From: brantje Date: Fri, 7 Oct 2016 10:41:47 +0200 Subject: [PATCH] Missing ; --- js/app/controllers/share.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index f89a0b24..2fba2211 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -229,6 +229,8 @@ angular.module('passmanApp') }); }); }; + + $scope.sharing_complete = true; $scope.applyShare = function () { $scope.sharing_complete = false; @@ -253,7 +255,7 @@ angular.module('passmanApp') expire_views: $scope.share_settings.linkSharing.settings.expire_views }; ShareService.createPublicSharedCredential(shareObj).then(function () { - var hash = window.btoa($scope.storedCredential.guid + '<::>' + enc_key) + var hash = window.btoa($scope.storedCredential.guid + '<::>' + enc_key); $scope.share_link = $location.$$protocol + '://' + $location.$$host + OC.generateUrl('apps/passman/share/public#') + hash; }) }