add stuff

This commit is contained in:
2018-09-19 00:27:33 +02:00
parent 64e9a33971
commit 1319fb045c
4 changed files with 16 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"pin": 4,
"length": 17,
"brightness": 32,
"length": 60,
"brightness": 64,
"updateInterval": 150,
"defaultColor": 100
}

View File

@@ -11107,7 +11107,10 @@ class Form extends __WEBPACK_IMPORTED_MODULE_1__core_Component__["a" /* default
obj[item.name] = item.value;
return obj;
}, {});
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.post(this.config.endpoint, { fileName: this.config.filename, config: JSON.stringify(data) });
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.post(this.config.endpoint, { fileName: this.config.filename, config: JSON.stringify(data) })
.done((data) => {
alert("data saved");
});
};