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:
Robert Hönig 2018-01-30 10:13:46 +01:00 committed by Tim Abbott
parent 561e0ffe3b
commit 33322fed51
1 changed files with 1 additions and 1 deletions

View File

@ -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));