custom fields: Add support for custom URL field type.

This commit is contained in:
Yashashvi Dave
2018-04-25 22:50:58 +05:30
committed by Tim Abbott
parent d2128105dd
commit 0d7d94d0db
5 changed files with 44 additions and 1 deletions

View File

@@ -68,6 +68,8 @@ exports.add_custom_profile_fields_to_settings = function () {
type = "choice";
} else if (field.type === 4) {
type = "date";
} else if (field.type === 5) {
type = "url";
} else {
blueslip.error("Undefined field type.");
}