Merge branch 'testing-common-ssh'

This commit is contained in:
Michael Jumper
2015-08-13 16:30:42 -07:00
4 changed files with 15 additions and 1 deletions

View File

@@ -250,7 +250,11 @@ angular.module('client').directive('guacFileBrowser', [function guacFileBrowser(
// Refresh file browser when any upload completes
$scope.$on('guacUploadComplete', function uploadComplete(event, filename) {
ManagedFilesystem.refresh($scope.filesystem, $scope.filesystem.currentDirectory);
// Refresh filesystem, if it exists
if ($scope.filesystem)
ManagedFilesystem.refresh($scope.filesystem, $scope.filesystem.currentDirectory);
});
}]