cloud_bbb/ts/admin.ts

10 lines
278 B
TypeScript
Raw Normal View History

2020-04-26 11:36:41 +02:00
declare const OCP: any;
$(() => {
2020-04-26 13:26:34 +02:00
$('#bbb-settings form').submit(function (ev) {
2020-04-26 11:36:41 +02:00
ev.preventDefault();
2020-04-26 13:26:34 +02:00
OCP.AppConfig.setValue('bbb', 'api.url', this['api.url'].value);
OCP.AppConfig.setValue('bbb', 'api.secret', this['api.secret'].value);
2020-04-26 11:36:41 +02:00
})
});