mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Fix buggy yellow alert bar at top of admin page.
One of the alert rows Was missing a "-status" at the end. While we're fixing this, make it more robust by adding .expectOne(). (imported from commit 8cb0a560701e2ee48f78471ef8fe5cfa060782af)
This commit is contained in:
@@ -80,11 +80,11 @@ exports.setup_page = function () {
|
||||
};
|
||||
var admin_tab = templates.render('admin_tab', options);
|
||||
$("#administration").html(admin_tab);
|
||||
$("#administration-status").hide();
|
||||
$("#admin-realm-name-status").hide();
|
||||
$("#admin-realm-restricted-to-domain-status").hide();
|
||||
$("#admin-realm-invite-required-status").hide();
|
||||
$("#admin-realm-invite-by-admins-only").hide();
|
||||
$("#administration-status").expectOne().hide();
|
||||
$("#admin-realm-name-status").expectOne().hide();
|
||||
$("#admin-realm-restricted-to-domain-status").expectOne().hide();
|
||||
$("#admin-realm-invite-required-status").expectOne().hide();
|
||||
$("#admin-realm-invite-by-admins-only-status").expectOne().hide();
|
||||
|
||||
// create loading indicators
|
||||
loading.make_indicator($('#admin_page_users_loading_indicator'));
|
||||
|
||||
Reference in New Issue
Block a user