mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-13 19:51:37 +01:00
init form models
This commit is contained in:
parent
eef4d6f48e
commit
a57897b0c7
@ -2,6 +2,8 @@
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsHintController', function ($scope, $state, apiService, toastr, $q) {
|
||||
$scope.model = {};
|
||||
|
||||
popupUtils.initListSectionItemListeners();
|
||||
$('#email').focus();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsLoginTwoFactorController', function ($scope, $state, loginService, toastr) {
|
||||
$scope.model = {};
|
||||
popupUtils.initListSectionItemListeners();
|
||||
$('#code').focus();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsRegisterController', function ($scope, $state, cryptoService, toastr, $q, apiService) {
|
||||
$scope.model = {};
|
||||
popupUtils.initListSectionItemListeners();
|
||||
$('#email').focus();
|
||||
|
||||
|
@ -2,6 +2,7 @@ angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsAddFolderController', function ($scope, $q, folderService, $state, toastr) {
|
||||
$scope.folder = {};
|
||||
popupUtils.initListSectionItemListeners();
|
||||
$('#name').focus();
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsEditFolderController', function ($scope, $stateParams, folderService, toastr, $q, $state) {
|
||||
$scope.folder = {};
|
||||
var folderId = $stateParams.folderId;
|
||||
|
||||
folderService.get(folderId, function (folder) {
|
||||
|
Loading…
Reference in New Issue
Block a user