mirror of https://github.com/zulip/zulip.git
org-settings: Fix jquery id selector for join organization settings.
Fixes the id used to select and disable the properties for org admins on the organization permissions settings tab.
This commit is contained in:
parent
214eec007a
commit
dfa8ef09d8
|
@ -44,7 +44,7 @@ export function maybe_disable_widgets() {
|
|||
if (page_params.is_admin) {
|
||||
$("#deactivate_realm_button").prop("disabled", true);
|
||||
$("#org-message-retention").find("input, select").prop("disabled", true);
|
||||
$("#org-join").find("input, select").prop("disabled", true);
|
||||
$("#org-join-settings").find("input, select").prop("disabled", true);
|
||||
$("#id_realm_invite_required_label").parent().addClass("control-label-disabled");
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="subsection-header">
|
||||
<h3>{{t "Joining the organization" }}</h3>
|
||||
<i class="fa fa-info-circle settings-info-icon realm_message_retention_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change these settings.' }}"></i>
|
||||
{{> settings_save_discard_widget section_name="org-join" }}
|
||||
{{> settings_save_discard_widget section_name="join-settings" }}
|
||||
</div>
|
||||
<div class="m-10 inline-block organization-permissions-parent">
|
||||
<div class="input-group">
|
||||
|
|
Loading…
Reference in New Issue