1
0
mirror of https://github.com/bitwarden/web synced 2025-12-25 12:43:19 +00:00

focus vault search on $viewContentLoaded

This commit is contained in:
Kyle Spearrin
2017-12-19 11:30:52 -05:00
parent 16892239fb
commit 01ffc68fc2
3 changed files with 4 additions and 2 deletions

View File

@@ -47,11 +47,11 @@
$q.all([collectionPromise, cipherPromise]).then(function () {
$scope.loading = false;
$("#search").focus();
if ($state.params.search) {
$uibModalStack.dismissAll();
$scope.$emit('setSearchVaultText', $state.params.search);
$('#search').focus();
}
if ($state.params.viewEvents) {