mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
org settings: Fix a bug where the loading spinner was not visible.
In Chrome, the loading spinners on the Bots and Deactivated Users pages were not visible due to the `filter` elements having duplicate IDs across the different pages. (There are multiple `filter` elements with the ID `uil-ring-shadow` on the page.) To solve this, when generating a new loading SVG element, we append the container element's ID to the filter's ID, thus preventing any duplicates. Fix #8620.
This commit is contained in:
committed by
Tim Abbott
parent
14bc5c7d5c
commit
995d073dbf
@@ -29,7 +29,7 @@ exports.make_indicator = function (outer_container, opts) {
|
||||
}
|
||||
|
||||
var spinner_elem = $('<div class="loading_indicator_spinner"></div>');
|
||||
spinner_elem.html(templates.render("loader"));
|
||||
spinner_elem.html(templates.render("loader", { container_id: outer_container.attr("id") }));
|
||||
container.append(spinner_elem);
|
||||
var text_width = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user