mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-01-24 07:43:03 +00:00
Fixed error
This commit is contained in:
parent
e67870a086
commit
98a1e40eb2
@ -183,6 +183,13 @@ ComunicWeb.components.posts.ui = {
|
|||||||
innerHTML: "<i class='fa fa-pencil'></i>"
|
innerHTML: "<i class='fa fa-pencil'></i>"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//Make buttons lives
|
||||||
|
editButtonLink.onclick = function(){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
//Add a button to delete the post if the user is allowed
|
//Add a button to delete the post if the user is allowed
|
||||||
@ -616,7 +623,7 @@ ComunicWeb.components.posts.ui = {
|
|||||||
* @param {Object} name The name of the visibility level
|
* @param {Object} name The name of the visibility level
|
||||||
* @return {HTMLElement} The created element container
|
* @return {HTMLElement} The created element container
|
||||||
*/
|
*/
|
||||||
_add_visibility_menu_item(target, name){
|
_add_visibility_menu_item: function(target, name){
|
||||||
|
|
||||||
//Create container
|
//Create container
|
||||||
var itemContainer = createElem2({
|
var itemContainer = createElem2({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user