mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Fix issue in functions definition
This commit is contained in:
parent
8bb4df9f40
commit
7887080073
@ -109,7 +109,7 @@ ComunicWeb.components.userSelect = {
|
|||||||
* @param {array} usersID The ID of the users to push in select2 element
|
* @param {array} usersID The ID of the users to push in select2 element
|
||||||
* @return {Boolean} True for a success
|
* @return {Boolean} True for a success
|
||||||
*/
|
*/
|
||||||
pushEntries(inputSelect, usersID){
|
pushEntries: function(inputSelect, usersID){
|
||||||
|
|
||||||
//Get informations about the entries
|
//Get informations about the entries
|
||||||
getMultipleUsersInfos(usersID, function(usersInfos){
|
getMultipleUsersInfos(usersID, function(usersInfos){
|
||||||
|
@ -87,7 +87,7 @@ ComunicWeb.pages.userPage.posts = {
|
|||||||
* @param {HTMLElement} target The target for the posts
|
* @param {HTMLElement} target The target for the posts
|
||||||
* @param {function} callback What to do once the posts have been loaded
|
* @param {function} callback What to do once the posts have been loaded
|
||||||
*/
|
*/
|
||||||
_load_posts(userInfos, target, callback){
|
_load_posts: function(userInfos, target, callback){
|
||||||
|
|
||||||
//Get the posts from the API
|
//Get the posts from the API
|
||||||
ComunicWeb.components.posts.interface.get_user(userInfos.userID, this._last_post_id, function(result){
|
ComunicWeb.components.posts.interface.get_user(userInfos.userID, this._last_post_id, function(result){
|
||||||
|
Loading…
Reference in New Issue
Block a user