1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-20 11:15:24 +01:00

toasts when copying from current tab

This commit is contained in:
Kyle Spearrin 2016-09-14 22:45:22 -04:00
parent 6bb8b28517
commit 47e5a6d5c5

View File

@ -87,6 +87,15 @@ angular
});
});
$scope.clipboardError = function (e, password) {
toastr.info('Your web browser does not support easy clipboard copying. Copy it manually instead.');
};
$scope.clipboardSuccess = function (e, type) {
e.clearSelection();
toastr.info(type + ' copied!');
};
$scope.addSite = function () {
$state.go('addSite', {
animation: 'in-slide-up',