mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
user settings: Fix custom URL field style in profile form.
Type of input element in profile form was not defined for URL type custom fields. Because type was not passed to template.
This commit is contained in:
committed by
Tim Abbott
parent
d7ee2aced1
commit
5be2207bf8
@@ -91,6 +91,7 @@ exports.append_custom_profile_fields = function (element_id, user_id) {
|
||||
all_field_template_types[all_field_types.USER.id] = "user";
|
||||
all_field_template_types[all_field_types.DATE.id] = "date";
|
||||
all_field_template_types[all_field_types.EXTERNAL_ACCOUNT.id] = "text";
|
||||
all_field_template_types[all_field_types.URL.id] = "url";
|
||||
|
||||
all_custom_fields.forEach(function (field) {
|
||||
var field_value = people.get_custom_profile_data(user_id, field.id);
|
||||
|
||||
Reference in New Issue
Block a user