vault fixes
This commit is contained in:
parent
dcb0416fd6
commit
8bc9dafff2
|
@ -51,7 +51,11 @@
|
|||
|
||||
$q.all([collectionPromise, cipherPromise]).then(function () {
|
||||
$scope.loading = false;
|
||||
$("#search").focus();
|
||||
$timeout(function () {
|
||||
if ($('body').hasClass('control-sidebar-open')) {
|
||||
$("#search").focus();
|
||||
}
|
||||
}, 500);
|
||||
|
||||
if ($state.params.search) {
|
||||
$uibModalStack.dismissAll();
|
||||
|
|
|
@ -22,7 +22,11 @@
|
|||
}
|
||||
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
$("#search").focus();
|
||||
$timeout(function () {
|
||||
if ($('body').hasClass('control-sidebar-open')) {
|
||||
$("#search").focus();
|
||||
}
|
||||
}, 500);
|
||||
|
||||
if (($rootScope.vaultFolders || $rootScope.vaultCollections) && $rootScope.vaultCiphers) {
|
||||
$scope.loading = false;
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
<div class="control-sidebar-section" ng-show="!loading && vaultCollections.length">
|
||||
<ul class="control-sidebar-menu">
|
||||
<li ng-repeat="collection in vaultCollections | orderBy: [groupingSort] track by collection.id"
|
||||
ng-class="{active: selectedCollection && collection.id === selectedCollection}">
|
||||
ng-class="{active: selectedCollection && collection.id === selectedCollection.id}">
|
||||
<a href="#" stop-click ng-click="filterCollection(collection)">
|
||||
<i class="fa fa-caret-right fa-fw"></i>
|
||||
{{collection.name}}
|
||||
|
|
Loading…
Reference in New Issue