cloud_bbb/ts/admin.ts

10 lines
255 B
TypeScript
Raw Normal View History

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