Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/app
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2018-11-04 14:22:23 +0300
committerfnuesse <felix.nuesse@t-online.de>2018-11-21 19:34:27 +0300
commit54365b5b9181a484e51c12870647ddcc190a3cd9 (patch)
tree51b9de357d2e369dfc46aef91c054e16e60e8a4e /js/app
parent5ca7f06170326159926aa511a0c23af17ee08e7e (diff)
fixed codestyling
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'js/app')
-rw-r--r--js/app/controllers/menu.js20
1 files changed, 9 insertions, 11 deletions
diff --git a/js/app/controllers/menu.js b/js/app/controllers/menu.js
index dc5d49f3..7efcf1e6 100644
--- a/js/app/controllers/menu.js
+++ b/js/app/controllers/menu.js
@@ -93,9 +93,7 @@
}
}
if(where === -1){
- console.log("Cant remove selected Tag, Tag not present!");
- }else{
-
+ //console.log("Cant remove selected Tag, Tag not present!");
}
$scope.selectedTags.splice(where, 1);
};
@@ -110,10 +108,10 @@
}
};
- $scope.clickedNavigationItem='all';
+ $scope.clickedNavigationItem="all";
$scope.filterCredentialBySpecial = function (string) {
$scope.clickedNavigationItem=string;
- if(string !== 'nav_trashbin'){
+ if(string !== "nav_trashbin"){
$scope.delete_time=0;
$rootScope.$broadcast('set_delete_time', $scope.delete_time);
}
@@ -124,21 +122,21 @@
};
$scope.collapsedDefaultValue=false;
- $scope.tagCollapsibleOpen=VaultService.getVaultSetting('vaultTagCollapsedState',$scope.collapsedDefaultValue);
+ $scope.tagCollapsibleOpen=VaultService.getVaultSetting("vaultTagCollapsedState",$scope.collapsedDefaultValue);
$scope.tagCollapsibleClicked = function () {
- if (VaultService.getVaultSetting('vaultTagCollapsedState',$scope.collapsedDefaultValue) === true) {
- VaultService.setVaultSetting('vaultTagCollapsedState',false);
+ if (VaultService.getVaultSetting("vaultTagCollapsedState",$scope.collapsedDefaultValue) === true) {
+ VaultService.setVaultSetting("vaultTagCollapsedState",false);
} else {
- VaultService.setVaultSetting('vaultTagCollapsedState',true);
+ VaultService.setVaultSetting("vaultTagCollapsedState",true);
}
};
$scope.tagCollapsibleState = function () {
if(VaultService.getVaultSetting('vaultTagCollapsedState',$scope.collapsedDefaultValue)){
- return '';
+ return "";
}
- return 'open';
+ return "open";
};
$rootScope.$on('credentials_loaded', function () {