mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
cleanup
This commit is contained in:
parent
c3bea80ec7
commit
87f0e2be0e
@ -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.');
|
||||
};
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user