mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-27 03:08:51 +00:00
Goups pages dynamically updated the title of the page.
This commit is contained in:
parent
5c0cdced85
commit
31bbc2326c
@ -48,6 +48,9 @@ ComunicWeb.pages.groups.pages.group = {
|
||||
*/
|
||||
display: function(id, info, target){
|
||||
|
||||
//Update page title
|
||||
document.title = info.name;
|
||||
|
||||
//Create page row
|
||||
var pageRow = createElem2({
|
||||
appendTo: target,
|
||||
|
@ -116,6 +116,8 @@ ComunicWeb.pages.groups.pages.members = {
|
||||
*/
|
||||
displayList: function(info, list, users, target){
|
||||
|
||||
document.title = info.name + " - Members";
|
||||
|
||||
//Append the title of the group
|
||||
createElem2({
|
||||
appendTo: target,
|
||||
|
@ -92,6 +92,8 @@ ComunicWeb.pages.groups.pages.settings = {
|
||||
*/
|
||||
display: function(id, settings, target){
|
||||
|
||||
document.title = settings.name + " - Settings";
|
||||
|
||||
//Create form container
|
||||
var formContainer = createElem2({
|
||||
appendTo: target,
|
||||
|
Loading…
Reference in New Issue
Block a user