mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-25 02:18:51 +00:00
Open user page shorcut
This commit is contained in:
parent
710470aae6
commit
7506222d15
@ -31,6 +31,16 @@ function openPage(pageURI, additionnalData){
|
|||||||
return ComunicWeb.common.page.openPage(pageURI, additionnalData);
|
return ComunicWeb.common.page.openPage(pageURI, additionnalData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open a user page quickly
|
||||||
|
*
|
||||||
|
* @param {String} user The ID of the user or its directory
|
||||||
|
* @return {Boolean} True for a success
|
||||||
|
*/
|
||||||
|
function openUserPage(user){
|
||||||
|
return openPage("user/" + user);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if user is signed in or not
|
* Check if user is signed in or not
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user