mirror of
https://github.com/octoleo/syncthing.git
synced 2024-09-19 13:19:01 +00:00
parent
72194d137c
commit
72f26c1e45
@ -1401,13 +1401,13 @@ angular.module('syncthing.core')
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.selectAllFolders = function () {
|
$scope.selectAllFolders = function () {
|
||||||
angular.forEach($scope.folders, function (id) {
|
angular.forEach($scope.folders, function (_, id) {
|
||||||
$scope.currentDevice.selectedFolders[id] = true;
|
$scope.currentDevice.selectedFolders[id] = true;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.deSelectAllFolders = function () {
|
$scope.deSelectAllFolders = function () {
|
||||||
angular.forEach($scope.folders, function (id) {
|
angular.forEach($scope.folders, function (_, id) {
|
||||||
$scope.currentDevice.selectedFolders[id] = false;
|
$scope.currentDevice.selectedFolders[id] = false;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user