mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
added q promise library. moving cipher service functions out into application services and domain models.
This commit is contained in:
@@ -45,8 +45,6 @@ angular
|
||||
$scope.save = function (model) {
|
||||
$scope.savePromise = cipherService.encryptSite(model).then(function (siteModel) {
|
||||
var site = new Site(siteModel, true);
|
||||
return site;
|
||||
}).then(function (site) {
|
||||
return saveSite(site).then(function (site) {
|
||||
toastr.success('Edited site');
|
||||
$scope.close();
|
||||
|
||||
Reference in New Issue
Block a user