mirror of https://github.com/zulip/zulip.git
settings_org: Move 'time_limit_dropdown_values' to top-level.
This commit is contained in:
parent
0caf55f2f0
commit
402bd4a4c6
|
@ -190,7 +190,6 @@ function set_video_chat_provider_dropdown() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.setup_time_limit_dropdown_values = function () {
|
|
||||||
var time_limit_dropdown_values = {
|
var time_limit_dropdown_values = {
|
||||||
any_time: {
|
any_time: {
|
||||||
text: i18n.t("Any time"),
|
text: i18n.t("Any time"),
|
||||||
|
@ -225,7 +224,6 @@ exports.setup_time_limit_dropdown_values = function () {
|
||||||
};
|
};
|
||||||
exports.msg_edit_limit_dropdown_values = time_limit_dropdown_values;
|
exports.msg_edit_limit_dropdown_values = time_limit_dropdown_values;
|
||||||
exports.msg_delete_limit_dropdown_values = time_limit_dropdown_values;
|
exports.msg_delete_limit_dropdown_values = time_limit_dropdown_values;
|
||||||
};
|
|
||||||
|
|
||||||
function set_msg_edit_limit_dropdown() {
|
function set_msg_edit_limit_dropdown() {
|
||||||
var value = get_property_value("realm_msg_edit_limit_setting");
|
var value = get_property_value("realm_msg_edit_limit_setting");
|
||||||
|
|
|
@ -16,8 +16,6 @@ exports.initialize = function () {
|
||||||
failure: i18n.t("Save failed"),
|
failure: i18n.t("Save failed"),
|
||||||
saving: i18n.t("Saving"),
|
saving: i18n.t("Saving"),
|
||||||
};
|
};
|
||||||
|
|
||||||
settings_org.setup_time_limit_dropdown_values();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generic function for informing users about changes to the settings
|
// Generic function for informing users about changes to the settings
|
||||||
|
|
Loading…
Reference in New Issue