1
0
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:
Kyle Spearrin
2016-09-15 00:09:48 -04:00
parent 2c44bd5cc8
commit 16a59f8d09
8 changed files with 121 additions and 77 deletions

View File

@@ -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();