mirror of https://github.com/zulip/zulip.git
bot_settings.js: Narrow config item selector.
Needed to avoid selector conflicts with the future config items in the edit sidebar.
This commit is contained in:
parent
561e0ffe3b
commit
33322fed51
|
@ -159,7 +159,7 @@ exports.set_up = function () {
|
|||
} else if (bot_type === EMBEDDED_BOT_TYPE) {
|
||||
formData.append('service_name', service_name);
|
||||
var config_data = {};
|
||||
$("[name*='"+service_name+"'] input").each(function () {
|
||||
$("#config_inputbox [name*='"+service_name+"'] input").each(function () {
|
||||
config_data[$(this).attr('name')] = $(this).val();
|
||||
});
|
||||
formData.append('config_data', JSON.stringify(config_data));
|
||||
|
|
Loading…
Reference in New Issue