mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-13 17:18:45 +00:00
gui: Suggest lower case only folder ID (fixes #3128)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3353
This commit is contained in:
parent
9d16f4545d
commit
3c77b8388c
@ -1318,7 +1318,7 @@ angular.module('syncthing.core')
|
||||
$scope.editingExisting = false;
|
||||
$scope.folderEditor.$setPristine();
|
||||
$http.get(urlbase + '/svc/random/string?length=10').success(function (data) {
|
||||
$scope.currentFolder.id = data.random.substr(0, 5) + '-' + data.random.substr(5, 5);
|
||||
$scope.currentFolder.id = (data.random.substr(0, 5) + '-' + data.random.substr(5, 5)).toLowerCase();
|
||||
$('#editFolder').modal();
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user