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

moved popup utils to utilsService

This commit is contained in:
Kyle Spearrin
2016-09-26 18:41:20 -04:00
parent 107c480913
commit a59f7a4afc
12 changed files with 64 additions and 64 deletions

View File

@@ -2,7 +2,7 @@
.module('bit.vault')
.controller('vaultAddSiteController', function ($scope, $state, $stateParams, siteService, folderService,
cryptoService, $q, toastr) {
cryptoService, $q, toastr, utilsService) {
var returnScrollY = $stateParams.returnScrollY;
var returnSearchText = $stateParams.returnSearchText;
var fromCurrent = $stateParams.fromCurrent || $stateParams.uri !== null;
@@ -23,7 +23,7 @@
else {
$('#name').focus();
}
popupUtils.initListSectionItemListeners();
utilsService.initListSectionItemListeners($(document));
$q.when(folderService.getAllDecrypted()).then(function (folders) {
$scope.folders = folders;