GUACAMOLE-265: Set page title when "name" instruction is received.
This commit is contained in:
1 parent
0c2bcdbd81
commit
0b2c63bd74
2 files changed
+20
-5
No files matched your search
@@ -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