Просмотр исходного кода

gui: Unset current folder on modal close (fixes #7584) (#7586)

Simon Frei 4 лет назад
Родитель
Сommit
f6375ecbfc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      gui/default/syncthing/core/syncthingController.js

+ 1 - 0
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 = {};
             });
         };