mirror of https://github.com/zulip/zulip.git
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:
parent
f340778798
commit
176e3f4a54
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue