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