1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 07:43:16 +00:00

copy password from vault listings

This commit is contained in:
Kyle Spearrin
2017-06-08 22:25:01 -04:00
parent 366506555a
commit c094a26cbf
5 changed files with 32 additions and 1 deletions

View File

@@ -118,6 +118,11 @@
return item.name.toLowerCase();
}
$scope.clipboardError = function (e) {
alert('Your web browser does not support easy clipboard copying. ' +
'Edit the login and copy it manually instead.');
};
$scope.collapseExpand = function (folder, favorite) {
if (!$localStorage.collapsedFolders) {
$localStorage.collapsedFolders = {};
@@ -147,6 +152,7 @@
login.folderId = returnVal.data.folderId;
login.name = returnVal.data.name;
login.username = returnVal.data.username;
login.password = returnVal.data.password;
login.favorite = returnVal.data.favorite;
sortScopedLoginData();