mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +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){
|
display: function(id, info, target){
|
||||||
|
|
||||||
|
//Update page title
|
||||||
|
document.title = info.name;
|
||||||
|
|
||||||
//Create page row
|
//Create page row
|
||||||
var pageRow = createElem2({
|
var pageRow = createElem2({
|
||||||
appendTo: target,
|
appendTo: target,
|
||||||
|
@ -116,6 +116,8 @@ ComunicWeb.pages.groups.pages.members = {
|
|||||||
*/
|
*/
|
||||||
displayList: function(info, list, users, target){
|
displayList: function(info, list, users, target){
|
||||||
|
|
||||||
|
document.title = info.name + " - Members";
|
||||||
|
|
||||||
//Append the title of the group
|
//Append the title of the group
|
||||||
createElem2({
|
createElem2({
|
||||||
appendTo: target,
|
appendTo: target,
|
||||||
|
@ -92,6 +92,8 @@ ComunicWeb.pages.groups.pages.settings = {
|
|||||||
*/
|
*/
|
||||||
display: function(id, settings, target){
|
display: function(id, settings, target){
|
||||||
|
|
||||||
|
document.title = settings.name + " - Settings";
|
||||||
|
|
||||||
//Create form container
|
//Create form container
|
||||||
var formContainer = createElem2({
|
var formContainer = createElem2({
|
||||||
appendTo: target,
|
appendTo: target,
|
||||||
|
Loading…
Reference in New Issue
Block a user