create and delete events

This commit is contained in:
LubuWest 2022-11-15 22:02:09 +01:00
commit 400241ec6a
34 changed files with 1346 additions and 614 deletions

View file

@ -448,7 +448,7 @@ function updateContactInDB(login,database,isFriend,contact){// for newstab and f
});
}
function processNews(api,data){
function processNews(api,data){//print("processnews "+ " api "+ api + " data "+data);
try{var newslist=JSON.parse(data)} catch(e){print("processnews "+e+ " api "+ api + " data "+data);newsBusy.running=false;};
if (api=="/api/users/show"){
var usermessages=[];
@ -624,7 +624,7 @@ function cleanUser(user){
return user
}
function updateView(viewtype){
function updateView(viewtype){//print("lastnews "+lastnews);
//messageSend.state="";
//newsBusy.running=true;
//downloadNotice.text="xhr start "+Date.now()