Browse Source

gui: Initialise sharing when accepting new device (fixes #7113) (#7114)

Simon Frei 5 years ago
parent
commit
1f81940a1f

+ 1 - 0
gui/default/syncthing/core/syncthingController.js

@@ -1535,6 +1535,7 @@ angular.module('syncthing.core')
                         ignoredFolders: []
                     };
                     $scope.editingExisting = false;
+                    initShareEditing('device');
                     $scope.deviceEditor.$setPristine();
                     $('#editDevice').modal();
                 });

+ 1 - 0
gui/default/untrusted/syncthing/core/syncthingController.js

@@ -1556,6 +1556,7 @@ angular.module('syncthing.core')
                         ignoredFolders: []
                     };
                     $scope.editingExisting = false;
+                    initShareEditing('device');
                     $scope.deviceEditor.$setPristine();
                     $('#editDevice').modal();
                 });