1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

added vault search

This commit is contained in:
Kyle Spearrin
2016-09-13 00:14:49 -04:00
parent a2916418ac
commit 348f5e7ef1
10 changed files with 112 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
.controller('vaultAddSiteController', function ($scope, $state, $stateParams, siteService, folderService, cipherService, $q) {
var returnScrollY = $stateParams.returnScrollY;
var returnSearchText = $stateParams.returnSearchText;
$scope.site = {
folderId: null
@@ -49,7 +50,11 @@
};
$scope.close = function () {
$state.go('tabs.vault', { animation: 'out-slide-down', scrollY: returnScrollY || 0 });
$state.go('tabs.vault', {
animation: 'out-slide-down',
scrollY: returnScrollY || 0,
searchText: returnSearchText
});
};
function saveSite(site) {