Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

invite: Remove code for old UI.

Sahil Batra5e347e971dde
diff --git a/web/src/invite.ts b/web/src/invite.ts
index e227a6aad09..2f4d3c57b71 100644
--- a/web/src/invite.ts
+++ b/web/src/invite.ts
@@ -206,7 +206,6 @@ function submit_invitation_form(): void {
$("#invite-user-modal .dialog_submit_button").text($t({defaultMessage: "Invite"}));
$("#invite-user-modal .dialog_submit_button").prop("disabled", false);
$("#invite-user-modal .dialog_exit_button").prop("disabled", false);
- $<HTMLTextAreaElement>("textarea#invitee_emails").trigger("focus");
$invite_status[0].scrollIntoView();
},
});
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 1749e2d8be9..9f870085032 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1555,40 +1555,6 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
}
}
-textarea.invitee_emails {
- min-height: 40px;
- max-height: 300px;
- width: 96%;
- max-width: 96%;
- resize: vertical !important;
-
- color: hsl(0deg 0% 33%);
- background-color: hsl(0deg 0% 100%);
- border-radius: 4px;
- vertical-align: middle;
- border: 1px solid hsl(0deg 0% 80%);
- padding: 4px 6px;
-
- box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
- transition:
- border linear 0.2s,
- box-shadow linear 0.2s;
-
- &:focus {
- border-color: hsl(206.5deg 80% 62% / 80%);
- outline: 0;
-
- box-shadow:
- inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
- 0 0 8px hsl(206.5deg 80% 62% / 60%);
- }
-
- &:disabled {
- cursor: not-allowed;
- background-color: hsl(0deg 0% 93%);
- }
-}
-
#custom-expiration-time-input,
#invite-user-form {
margin: 0;
@@ -1635,27 +1601,6 @@ select.invite-as {
}
}
-.invite_type_radio_section {
- margin: 2px 2px 2px 5px;
-
- & div {
- width: fit-content;
- }
-
- & input[type="radio"] {
- cursor: pointer;
-
- &:disabled {
- cursor: not-allowed;
- }
- }
-
- .control-label-disabled label {
- pointer-events: none;
- cursor: not-allowed;
- }
-}
-
#custom-expiration-time-input {
width: 5ch;
margin-right: 15px;