From f6375ecbfc652f7d4627c6c5bd8257530f1df5b5 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Tue, 20 Apr 2021 17:29:38 +0200 Subject: [PATCH] gui: Unset current folder on modal close (fixes #7584) (#7586) --- gui/default/syncthing/core/syncthingController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 3c0c42b73..98f9d1d95 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -1893,6 +1893,7 @@ angular.module('syncthing.core') }).one('hidden.bs.modal', function () { $('.nav-tabs a[href="#folder-general"]').tab('show'); window.location.hash = ""; + $scope.currentFolder = {}; }); };