1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01:00
This commit is contained in:
Kyle Spearrin 2017-07-12 10:00:36 -04:00
parent c3bea80ec7
commit 87f0e2be0e
2 changed files with 7 additions and 1 deletions

View File

@ -164,6 +164,12 @@ angular
}, 1000);
});
scope.$on("$destroy", function () {
if (interval) {
clearInterval(interval);
}
});
scope.clipboardError = function (e) {
alert('Your web browser does not support easy clipboard copying.');
};

View File

@ -31,7 +31,7 @@
return apiService.ciphers.postAttachment({ id: loginId }, fd).$promise;
}).then(function (response) {
$analytics.eventTrack('Added Attachment');
toastr.success('The attachment has been added.');
toastr.success('The attachment has been saved.');
closing = true;
$uibModalInstance.close(true);
}, function (err) {