mirror of https://github.com/zulip/zulip.git
settings_org: Move *_widget definitions before uses.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
45178e7fed
commit
b5dbe259a8
|
@ -382,6 +382,10 @@ function update_dependent_subsettings(property_name) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exports.default_code_language_widget = null;
|
||||||
|
exports.notifications_stream_widget = null;
|
||||||
|
exports.signup_notifications_stream_widget = null;
|
||||||
|
|
||||||
function discard_property_element_changes(elem) {
|
function discard_property_element_changes(elem) {
|
||||||
elem = $(elem);
|
elem = $(elem);
|
||||||
const property_name = exports.extract_property_name(elem);
|
const property_name = exports.extract_property_name(elem);
|
||||||
|
@ -592,10 +596,6 @@ exports.save_discard_widget_status_handler = (subsection) => {
|
||||||
exports.change_save_button_state(save_btn_controls, button_state);
|
exports.change_save_button_state(save_btn_controls, button_state);
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.default_code_language_widget = null;
|
|
||||||
exports.notifications_stream_widget = null;
|
|
||||||
exports.signup_notifications_stream_widget = null;
|
|
||||||
|
|
||||||
exports.init_dropdown_widgets = () => {
|
exports.init_dropdown_widgets = () => {
|
||||||
const streams = stream_data.get_streams_for_settings_page();
|
const streams = stream_data.get_streams_for_settings_page();
|
||||||
const notification_stream_options = {
|
const notification_stream_options = {
|
||||||
|
|
Loading…
Reference in New Issue