fix ctrlchange
This commit is contained in:
@ -54,7 +54,10 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% set start = microtime(true) %}
|
||||
|
||||
<div class="d-flex">
|
||||
|
||||
<div id="filters" class="d-flex flex-column pl-2 pr-2 " style="width:350px; background-color:var(--colorbgbodydark);min-height:1500px;">
|
||||
<div style="width:100%" class="mt-3">
|
||||
<label class="control-label" style="color:var(--colorftbodydark)">Filtre JALONS</label>
|
||||
@ -453,7 +456,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mymodalassignees" class="modal" role="dialog">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
@ -481,7 +483,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% set end = microtime(true) %}
|
||||
{% set duration = end - start %}
|
||||
<p>render time: {{ duration }} seconds</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block localjavascript %}
|
||||
@ -507,7 +513,7 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
// Apply Filter
|
||||
function showhide() {
|
||||
@ -1084,7 +1090,7 @@
|
||||
refreshinfo();
|
||||
$("#mycontent").show();
|
||||
|
||||
lastupdate="{{scrum.updatedate|date("Ymd H:i:s")}}";
|
||||
lastupdate="{{updatedate|date("Ymd H:i")}}";
|
||||
console.log(lastupdate);
|
||||
|
||||
|
||||
@ -1153,7 +1159,6 @@
|
||||
});
|
||||
|
||||
var intervalId = window.setInterval(function(){
|
||||
console.log(lastupdate);
|
||||
$.ajax({
|
||||
method: "POST",
|
||||
url: "{{path("app_scrumissue_ctrlchange")}}",
|
||||
@ -1162,7 +1167,7 @@
|
||||
lastupdate:lastupdate
|
||||
},
|
||||
success: function(fgupdated) {
|
||||
if(fgupdated) {
|
||||
if(fgupdated=="1") {
|
||||
$("#haveupdate").show();
|
||||
}
|
||||
}
|
||||
@ -1171,6 +1176,7 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
function refreshinfo() {
|
||||
$.ajax({
|
||||
method: "POST",
|
||||
|
Reference in New Issue
Block a user