summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui/default/syncthing/core/syncthingController.js1
-rwxr-xr-xgui/default/untrusted/syncthing/core/syncthingController.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index c03b4d04e..1238e0e4c 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -1455,6 +1455,7 @@ angular.module('syncthing.core')
ignoredFolders: []
};
$scope.editingExisting = false;
+ initShareEditing('device');
$scope.deviceEditor.$setPristine();
$('#editDevice').modal();
});
diff --git a/gui/default/untrusted/syncthing/core/syncthingController.js b/gui/default/untrusted/syncthing/core/syncthingController.js
index 8ab91d0b9..fcff0e802 100755
--- a/gui/default/untrusted/syncthing/core/syncthingController.js
+++ b/gui/default/untrusted/syncthing/core/syncthingController.js
@@ -1475,6 +1475,7 @@ angular.module('syncthing.core')
ignoredFolders: []
};
$scope.editingExisting = false;
+ initShareEditing('device');
$scope.deviceEditor.$setPristine();
$('#editDevice').modal();
});