mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
settings_org: Decapitalize Text setting type.
This commit is contained in:
@@ -185,15 +185,15 @@ function _set_up() {
|
||||
var property_types = {
|
||||
settings: {
|
||||
name: {
|
||||
type: 'Text',
|
||||
type: 'text',
|
||||
msg: i18n.t("Name changed!"),
|
||||
},
|
||||
description: {
|
||||
type: 'Text',
|
||||
type: 'text',
|
||||
msg: i18n.t("Description changed!"),
|
||||
},
|
||||
default_language: {
|
||||
type: 'Text',
|
||||
type: 'text',
|
||||
msg: i18n.t("Default language changed!"),
|
||||
},
|
||||
},
|
||||
@@ -263,7 +263,7 @@ function _set_up() {
|
||||
data[k] = JSON.stringify($('#id_realm_'+k).prop('checked'));
|
||||
return;
|
||||
}
|
||||
if (field.type === 'Text') {
|
||||
if (field.type === 'text') {
|
||||
data[k] = JSON.stringify($('#id_realm_'+k).val().trim());
|
||||
return;
|
||||
}
|
||||
@@ -296,7 +296,7 @@ function _set_up() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (setting_type === 'Text') {
|
||||
if (setting_type === 'text') {
|
||||
ui_report.success(field_info.msg,
|
||||
property_type_status_element(key));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user