mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
This commit is contained in:
parent
7da898f2d6
commit
d50adb225b
@ -1822,7 +1822,7 @@ angular.module('syncthing.core')
|
|||||||
|
|
||||||
$scope.saveFolder = function () {
|
$scope.saveFolder = function () {
|
||||||
$('#editFolder').modal('hide');
|
$('#editFolder').modal('hide');
|
||||||
var folderCfg = $scope.currentFolder;
|
var folderCfg = angular.copy($scope.currentFolder);
|
||||||
folderCfg.devices = [];
|
folderCfg.devices = [];
|
||||||
folderCfg.selectedDevices[$scope.myID] = true;
|
folderCfg.selectedDevices[$scope.myID] = true;
|
||||||
for (var deviceID in folderCfg.selectedDevices) {
|
for (var deviceID in folderCfg.selectedDevices) {
|
||||||
|
Loading…
Reference in New Issue
Block a user