resolution refresh
This commit is contained in:
parent
94993f9a10
commit
54f9156149
|
@ -94,7 +94,7 @@ class ScrumissueController extends AbstractController
|
|||
$scrumissue->getScrum()->setUpdatedate($updateissue);
|
||||
$em->persist($scrumissue->getScrum());
|
||||
$em->flush();
|
||||
return new JsonResponse($lastupdate->format("Ymd H:i:s"));
|
||||
return new JsonResponse($updateissue->format("Ymd H:i:s"));
|
||||
}
|
||||
}
|
||||
return new JsonResponse(false);
|
||||
|
@ -204,10 +204,7 @@ class ScrumissueController extends AbstractController
|
|||
$updateissue=new \DateTime(json_decode(json_encode($giteaissue), true)["updated_at"]);
|
||||
$updateissue->setTimezone(new \DateTimeZone("UTC"));
|
||||
|
||||
if($updateissue>$lastupdate) {
|
||||
//var_dump($updateissue);
|
||||
//var_dump($lastupdate);
|
||||
|
||||
if($updateissue>$lastupdate) {
|
||||
$fgissueupdated=true;
|
||||
}
|
||||
|
||||
|
|
|
@ -893,7 +893,7 @@
|
|||
$(ui.item).data("sprint",newsprint);
|
||||
if(data) lastupdate=data;
|
||||
console.log(lastupdate);
|
||||
|
||||
|
||||
refreshinfo();
|
||||
},
|
||||
error: function (request, status, error) {
|
||||
|
@ -936,13 +936,12 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
}, 60000);
|
||||
}, 6000);
|
||||
|
||||
});
|
||||
|
||||
function issuhover(btn,idissu) {
|
||||
$("#submenu"+idissu).css("display","flex");
|
||||
console.log("here");
|
||||
}
|
||||
|
||||
function issuout(menu) {
|
||||
|
|
Loading…
Reference in New Issue