GUAC-963: Open menu when file transfers are started.
This commit is contained in:
1 parent
ba99316b50
commit
8c4a0e7854
2 files changed
+8
-1
No files matched your search
@@ -385,6 +385,14 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
|
||||
$scope.page.title = name;
|
||||
});
|
||||
|
||||
// Show menu if new file transfers have started
|
||||
$scope.$watch('client.uploads.length + client.downloads.length', function transfersChanged(count, oldCount) {
|
||||
|
||||
if (count > oldCount)
|
||||
$scope.menuShown = true;
|
||||
|
||||
});
|
||||
|
||||
// Show status dialog when connection status changes
|
||||
$scope.$watch('client.clientState.connectionState', function clientStateChanged(connectionState) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user