Skip to content

Commit

Permalink
fixes #249: Prevent continuous rebuild of Lucene index being reported
Browse files Browse the repository at this point in the history
The progress report that checks if Lucene indeces are rebuilt had a small error, causing the admin console to continuously display a message indicating that a rebuild was in progress.
  • Loading branch information
guusdk committed Mar 21, 2024
1 parent 82f273f commit 63e84fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h1>
<p><b>2.5.1</b> -- (tbd)</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/367'>Issue #367</a>] - Fixes: JRobin's repository uses invalid certificate</li>
<li>[<a href='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/249'>Issue #249</a>] - Fixes: Erroneous index rebuild progress indicator</li>
</ul>

<p><b>2.5.0</b> -- May 23, 2023</p>
Expand Down
2 changes: 1 addition & 1 deletion src/web/archiving-settings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
function showBuildProgress(progress) {
let rebuildElement = document.getElementById("rebuildElement");
let rebuildProgress = document.getElementById('rebuildProgress');
if (progress != null && progress !== -1){
if (progress != null && progress !== '-1'){
document.getElementById("rebuild").style.display="block";
// Update progress item.
rebuildElement.style.display = '';
Expand Down

0 comments on commit 63e84fe

Please sign in to comment.