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')
|
.module('bit.accounts')
|
||||||
|
|
||||||
.controller('accountsHintController', function ($scope, $state, apiService, toastr, $q) {
|
.controller('accountsHintController', function ($scope, $state, apiService, toastr, $q) {
|
||||||
|
$scope.model = {};
|
||||||
|
|
||||||
popupUtils.initListSectionItemListeners();
|
popupUtils.initListSectionItemListeners();
|
||||||
$('#email').focus();
|
$('#email').focus();
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
.module('bit.accounts')
|
.module('bit.accounts')
|
||||||
|
|
||||||
.controller('accountsLoginTwoFactorController', function ($scope, $state, loginService, toastr) {
|
.controller('accountsLoginTwoFactorController', function ($scope, $state, loginService, toastr) {
|
||||||
|
$scope.model = {};
|
||||||
popupUtils.initListSectionItemListeners();
|
popupUtils.initListSectionItemListeners();
|
||||||
$('#code').focus();
|
$('#code').focus();
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
.module('bit.accounts')
|
.module('bit.accounts')
|
||||||
|
|
||||||
.controller('accountsRegisterController', function ($scope, $state, cryptoService, toastr, $q, apiService) {
|
.controller('accountsRegisterController', function ($scope, $state, cryptoService, toastr, $q, apiService) {
|
||||||
|
$scope.model = {};
|
||||||
popupUtils.initListSectionItemListeners();
|
popupUtils.initListSectionItemListeners();
|
||||||
$('#email').focus();
|
$('#email').focus();
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ angular
|
|||||||
.module('bit.settings')
|
.module('bit.settings')
|
||||||
|
|
||||||
.controller('settingsAddFolderController', function ($scope, $q, folderService, $state, toastr) {
|
.controller('settingsAddFolderController', function ($scope, $q, folderService, $state, toastr) {
|
||||||
|
$scope.folder = {};
|
||||||
popupUtils.initListSectionItemListeners();
|
popupUtils.initListSectionItemListeners();
|
||||||
$('#name').focus();
|
$('#name').focus();
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
.module('bit.settings')
|
.module('bit.settings')
|
||||||
|
|
||||||
.controller('settingsEditFolderController', function ($scope, $stateParams, folderService, toastr, $q, $state) {
|
.controller('settingsEditFolderController', function ($scope, $stateParams, folderService, toastr, $q, $state) {
|
||||||
|
$scope.folder = {};
|
||||||
var folderId = $stateParams.folderId;
|
var folderId = $stateParams.folderId;
|
||||||
|
|
||||||
folderService.get(folderId, function (folder) {
|
folderService.get(folderId, function (folder) {
|
||||||
|
Loading…
Reference in New Issue
Block a user