1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-20 07:40:57 +02:00
bitwarden-browser/src/popup/app/vault/vaultAddSiteController.js

15 lines
347 B
JavaScript
Raw Normal View History

2016-09-03 22:48:39 +02:00
angular
.module('bit.vault')
2016-09-04 03:45:45 +02:00
.controller('vaultAddSiteController', function ($scope, siteService) {
$scope.site = {
folderId: null
};
$scope.createSite = function (model) {
var site = new Site(model);
siteService.save(model, function () {
});
};
2016-09-03 22:48:39 +02:00
});