include textarea when call the api

This commit is contained in:
Diego Najar 2021-09-25 20:29:09 +02:00
parent f03109844a
commit ccb9123ac0

View file

@ -26,6 +26,12 @@
args[key] = value;
});
$('textarea').each(function() {
var key = $(this).attr('name');
var value = $(this).val();
args[key] = value;
});
api.configurePlugin(args).then(function(response) {
if (response.status == 0) {
logs('Plugin configured: ' + response.data.key);