mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix comparison of creation date, show number of tasks in queue
This commit is contained in:
parent
469d9c5759
commit
7bb511f891
|
@ -63,6 +63,7 @@ function check_queue() {
|
|||
beforeSend: function() {
|
||||
queue_count++; // Add request to the counter
|
||||
$('.queue-bar').css('width', (queue_count*100/MAX_REQUESTS)+'%');
|
||||
$('.queue-bar').text(queue_count + '/' + MAX_REQUESTS);
|
||||
},
|
||||
error: function(xhr, textstatus) {
|
||||
noty({
|
||||
|
@ -162,7 +163,7 @@ $(document).ready( function() {
|
|||
$created = 0;
|
||||
}
|
||||
$content = $document->getLatestContent();
|
||||
if($created > $content->getDate() && !$forceupdate) {
|
||||
if($created >= $content->getDate() && !$forceupdate) {
|
||||
echo $indent."<span id=\"status_".$document->getID()."\" class=\"indexstatus\" data-docid=\"".$document->getID()."\">document unchanged</span>";
|
||||
} else {
|
||||
$index->delete($hit->id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user