cloud_bbb/ts/admin.ts

10 lines
308 B
TypeScript

declare const OCP: any;
$(() => {
$('#bigbluebutton-settings form').submit(function (ev) {
ev.preventDefault();
OCP.AppConfig.setValue('bigbluebutton', 'api.url', this['api.url'].value);
OCP.AppConfig.setValue('bigbluebutton', 'api.secret', this['api.secret'].value);
})
});