Skip to content

Commit

Permalink
fixes #377: Remove erroneous index confirmation message
Browse files Browse the repository at this point in the history
The archiving settings page on the admin console erroneously displays "Search Indexes are rebuilding." all the time - even when message archiving isn't even enabled.

I'm actually unsure why this change works. I assume there's javascript/CSS magic that causes the problem.
  • Loading branch information
guusdk committed Mar 21, 2024
1 parent 63e84fe commit 5855f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h1>

<p><b>2.5.1</b> -- (tbd)</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/377'>Issue #377</a>] - Fixes: Erroneous index confirmation message</li>
<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>
Expand Down
5 changes: 4 additions & 1 deletion src/web/archiving-settings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,13 @@
}
%>

<div class="success" id="rebuild" style="display: <%=rebuildIndex?"block":"none"%>">

<% if (rebuildIndex) { %>
<div class="success" id="rebuild">
<fmt:message key="archive.settings.rebuild.success"/>
<br/>
</div>
<% } %>

<% if (errors.size() > 0) { %>
<div class="error">
Expand Down

0 comments on commit 5855f07

Please sign in to comment.