resolution refresh
This commit is contained in:
parent
dae554a45d
commit
94993f9a10
@ -176,11 +176,15 @@ class ScrumissueController extends AbstractController
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$id=$request->get('id');
|
||||
$lastupdate=new \DateTime($request->get('lastupdate'));
|
||||
|
||||
$scrum=$em->getRepository("App:Scrum")->find($id);
|
||||
if(!$scrum) return new JsonResponse(['message' => 'No Scrum'], 403);
|
||||
|
||||
/*
|
||||
$lastupdate=$scrum->getUpdatedate();
|
||||
$lastupdate->setTimezone(new \DateTimeZone("UTC"));
|
||||
*/
|
||||
|
||||
$giteaissues=$this->giteaservice->getIssues($scrum->getGiteajson()["owner"]["login"],$scrum->getGiteajson()["name"]);
|
||||
if(!is_array($giteaissues)) die("Probleme de connexion avec gitea veuillez vous <a href='/logout'>reconnecter</a>");
|
||||
|
@ -857,7 +857,8 @@
|
||||
$("#mycontent").show();
|
||||
|
||||
lastupdate="{{scrum.updatedate|date("Ymd H:i:s")}}";
|
||||
|
||||
console.log(lastupdate);
|
||||
|
||||
// Sort columns
|
||||
$( ".scrumcolumn" ).sortable({
|
||||
handle: ".issu-id",
|
||||
@ -891,7 +892,8 @@
|
||||
$(ui.item).data("milestone",newmilestone);
|
||||
$(ui.item).data("sprint",newsprint);
|
||||
if(data) lastupdate=data;
|
||||
|
||||
console.log(lastupdate);
|
||||
|
||||
refreshinfo();
|
||||
},
|
||||
error: function (request, status, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user