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
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/controllers/bookmarklet.js')
-rw-r--r--js/app/controllers/bookmarklet.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/app/controllers/bookmarklet.js b/js/app/controllers/bookmarklet.js
index a1d292bd..6673dba2 100644
--- a/js/app/controllers/bookmarklet.js
+++ b/js/app/controllers/bookmarklet.js
@@ -411,9 +411,13 @@
NotificationService.showNotification($translate.instant('credential.created'), 5000);
});
}
+ setTimeout(() => window.close(), 3000);
};
+ $scope.cancel = function () {
+ window.close();
+ };
}
]);
-}()); \ No newline at end of file
+}());