mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
UI for add site
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
angular
|
||||
.module('bit.vault')
|
||||
|
||||
.controller('vaultAddSiteController', function ($scope) {
|
||||
console.log('modal controller');
|
||||
.controller('vaultAddSiteController', function ($scope, siteService) {
|
||||
$scope.site = {
|
||||
folderId: null
|
||||
};
|
||||
$scope.createSite = function (model) {
|
||||
var site = new Site(model);
|
||||
siteService.save(model, function () {
|
||||
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user