mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 14:41:21 +00:00
GUACAMOLE-265: Set page title when "name" instruction is received.
This commit is contained in:
@@ -540,9 +540,9 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
|
||||
|
||||
});
|
||||
|
||||
// Update page title when client name is received
|
||||
$scope.$watch('client.name', function clientNameChanged(name) {
|
||||
$scope.page.title = name;
|
||||
// Update page title when client title changes
|
||||
$scope.$watch('client.title', function clientTitleChanged(title) {
|
||||
$scope.page.title = title;
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user